1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

351 Commits

Author SHA1 Message Date
Richard M. Stallman
a098333dae (fill-region-as-paragraph): Don't modify newline
at end of paragraph, to make sure text-properties are preserved.
(fill-paragraph): Call fill-region, not fill-region-as-paragraph,
to avoid clobbering paragraph-internal hard-newlines.
(fill-region): If use-hard-newlines is on, divide into
"paragraphs" by breaking at every hard newline, temporarily
ignoring paragraph-start.
1995-01-13 08:44:26 +00:00
Richard M. Stallman
fa59ceb3f1 (bibtex-clean-entry): Killing text while editing
the autogenerated label in the minibuffer caused the killed text
to appear in front of the bibtex entry.
1995-01-06 21:48:36 +00:00
Richard M. Stallman
45c3304d43 (tex-print): Better check for when to print current
buffer's file over last processed file.
1995-01-05 00:23:50 +00:00
Richard M. Stallman
c0bcb2393b (tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}. 1995-01-03 22:28:50 +00:00
Richard M. Stallman
9e9c0abe49 (spell-filter): Make it a risky-local-variable. 1995-01-03 06:40:13 +00:00
Richard M. Stallman
e4d02e0473 (tex-mode): \begin at start of file implies Latex. 1995-01-02 23:07:36 +00:00
Richard M. Stallman
002b0d0012 (tex-mode-map): Add BibTeX File menu item. 1994-12-30 23:02:43 +00:00
Richard M. Stallman
cb4ad359c3 (bibtex-string, bibtex-preamble): Use forward-line.
(sort-subr): Don't call autload for this--that's done in loaddefs.el.
(bibtex-mode): Add autoload cookie.

Changed keybinding for bibtex-print-help-message
(from \C-ch to \C-c?). Therefore, describe-mode is not longer on
\C-c?. Also, changed prefix \C-cn for bibtex-narrow functions to
\C-c\C-r.
(bibtex-string-files): Changed documentation.
(bibtex-mode-map): Inscriptions of menu bar changed from "Entry
Types" to "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit".
(bibtex-string-files): Changed documentation.
(bibtex-mode): If environment variable BIBINPUTS isn't defined,
string files are searched in the current directory.
(bibtex-completion-candidates): Now buffer-local to allow
evaluation of different bibtex-string-files in different buffers.
(bibtex-autokey-edit-before-use, bibtex-clean-entry): New variable
that determines, if the user is allowed to edit auto-generated
reference keys before they are used.
(bibtex-generate-autokey, bibtex-clean-entry): New function to
generate an autokey if necessary.
(bibtex-autokey-names, bibtex-autokey-name-change-strings,
bibtex-autokey-name-length, bibtex-autokey-name-separator,
bibtex-autokey-year-length, bibtex-autokey-titlewords,
bibtex-autokey-title-terminators,
bibtex-autokey-titlewords-stretch,
bibtex-autokey-titleword-first-ignore,
bibtex-autokey-titleword-abbrevs,
bibtex-autokey-titleword-change-strings,
bibtex-autokey-titleword-length,
bibtex-autokey-titleword-separator,
bibtex-autokey-name-year-separator,
bibtex-autokey-year-title-separator): New variables related to
bibtex-generate-autokey.
(bibtex-find-entry-location): Optional second parameter maybedup
to tell it that entering a duplicate entry isn't to report by an
error but by the return value of the function (necessary for
bibtex-clean-entry to find the correct position of an entry with
an autogenerated key without disturbing the user with unwanted
messages).
(bibtex-help-message): New variable to avoid printing of help
messages in the echo area.
(assoc-of-regexp): New function to match an alist of regexps.
(bibtex-string-files, bibtex-completion-candidates, bibtex-mode):
New variables to allow bibtex-complete-string to work on strings
initialized from a variable and from @String definitions in a list
of files, too.
(bibtex-predefined-strings, bibtex-entry-field-alist): Changed to
user options.
(bibtex-mode): Changed doc string.
(many functions and variables): Changed documentation strings of
variables and functions to hold a complete sentence in the first
line.
(bibtex-print-help-message): Now line dependent and reports if it
is called outside a BibTeX field.
(validate-bibtex-buffer): Completely rewritten to validate, if
buffer is syntactically correct.
(find-bibtex-duplicates): Moved into validate-bibtex-buffer.
(ispell-abstract, bibtex-ispell-abstract, ispell-bibtex-entry,
bibtex-ispell-entry, beginning-of-bibtex-entry,
bibtex-beginning-of-entry, end-of-bibtex-entry,
bibtex-end-of-entry, hide-bibtex-entry-bodies,
bibtex-hide-entry-bodies, narrow-to-bibtex-entry,
bibtex-narrow-to-entry, sort-bibtex-entries, bibtex-sort-entries,
validate-bibtex-buffer, bibtex-validate-buffer,
find-bibtex-entry-location, bibtex-find-entry-location): All
interactive functions are renamed, so that any interface function
begins with "bibtex-". Mapping:
ispell-abstract            --> bibtex-ispell-abstract
ispell-bibtex-entry        --> bibtex-ispell-entry
beginning-of-bibtex-entry  --> bibtex-beginning-of-entry
end-of-bibtex-entry        --> bibtex-end-of-entry
hide-bibtex-entry-bodies   --> bibtex-hide-entry-bodies
narrow-to-bibtex-entry     --> bibtex-narrow-to-entry
sort-bibtex-entries        --> bibtex-sort-entries
validate-bibtex-buffer     --> bibtex-validate-buffer
find-bibtex-entry-location --> bibtex-find-entry-location
(bibtex-maintain-sorted-entries,
bibtex-sort-ignore-string-entries): Default is now t.
(bibtex-complete-string): String list is built from additional
string list bibtex-predefined-string and current strings in file.
(string-equalp): Deleted and substituted by string-equal.
(assoc-string-equalp): Renamed to assoc-ignore-case.
(bibtex-entry): Reference key can be entered with completion. All
reference keys that are defined in buffer and all labels that
appear in crossreference entries are object to completion.
(Entry types): Changed order of entries in menu "entry types".
(bibtex-entry-field-alist): Changed order of entries slightly to
be more conform with standard BibTeX style layouts.
(bibtex-mode-map): Uniform keybindings for \C-c\C-e prefix (often
used types on control keys, sometimes used types on normal keys,
rarely used types on shift keys, almost never used types on meta
keys).
(bibtex-mode-map): Function narrow-to-bibtex-entry and counterpart
widen and function hide-bibtex-entry-bodies and counterpart
show-all bounded to appropriate local keys.
(bibtex-abbrev-table): Deleted
(bibtex-current-entry-label, put-string-on-kill-ring): Deleted
(AUCTeX provides all the functionality needed for citation
completion).
(bibtex-enclosing-reference, bibtex-pop-previous, bibtex-pop-next,
bibtex-clean-entry): Hacked for speed (bibtex-pop-previous and
bibtex-pop-next were to slow for larger BibTeX files).
(bibtex-pop-previous, bibtex-pop-next): Delimiters from previous
or next entry are changed to actual delimters if necessary.
(bibtex-entry): Fixed bug (False entry wasn't reported in error
message if bibtex-entry was called with undefined reference name).
(bibtex-entry-field-alist, bibtex-entry, bibtex-make-field,
bibtex-next-field, bibtex-clean-entry): Every reference entry now
contains a comment in addition to the name of the reference. This
comment appears in the echo area if you start editing that field
(after calling bibtex-next-field).
(bibtex-include-OPTcrossref, bibtex-entry): Changed
bibtex-include-OPTcrossref from single boolean variable to hold a
list of reference names which should have a crossref field.
(bibtex-complete-word): New function, which completes word
fragment before point to the longest prefix of predefined strings
in the buffer in the same way that ispell-complete-word operates
for words found in the dictionary.
(bibtex-reference-head): Start of bibtex-reference-head changed
from "^[ \t]*\\(" to "^\\( \\|\t\\)*\\(" (bibtex-pop-previous and
bibtex-pop-next didn't work, probably due to a bug in
re-search-forward).
(several functions): Added support for {} as field delimiters
(better than '"' for accented characters.
(bibtex-clean-entry): If optional field crossref is empty or
missing, former optional fields (if bibtex-include-OPTcrossref was
t) are necessary again. bibtex-clean-entry complains if they are
empty but not if they are missing, so you can intenionally omit
them, e. g. for a pseudo @Journal entry (needed for
crossreferences) made out of an @article with missing non-optional
fields.
Menu bar entries aren't centered anymore.
1994-12-23 04:18:29 +00:00
Richard M. Stallman
70f2097350 Comment change. 1994-12-22 22:05:52 +00:00
Richard M. Stallman
191cda94a8 (tex-start-shell): Use inheritance. 1994-12-21 20:08:17 +00:00
Edward M. Reingold
dca5ea48d9 Make keymap for tex-shell the shell-mode-map. 1994-12-21 15:54:30 +00:00
Edward M. Reingold
e8c04c88ef Be consistent in use of comint (instead of shell) mode. 1994-12-19 19:09:39 +00:00
Karl Heuer
e29702dd6f Added ispell-offset for version consistency.
(ispell-dictionary-alist): updated dictionaries & better match defaults
(ispell-alternate-dictionary): added /usr/shar path
(ispell-menu-map-needed): redo changes that made this incompatible
with earlier versions of emacs19.
(ispell-required-version): changed to assure version 3.1.12 accessed.
(ispell-word): Correctly accept buffer-local information.
Does not try to modify read-only buffer on 'm' command.
(ispell-command-loop): fixed bug that corrupted buffers.
removed scrolling when *Choices* buffer shrinks.
(check-ispell-version): Correctly identifies new version requirements.
(ispell-region): Interaction updated for version 3.1.12+
Buffer read-only modification improvement.  Dictionary messages added.
(ispell-message-text-end): skips additional shell files.
(ispell-buffer-local-parsing): extended-char mode now matches text mode
1994-12-10 02:01:31 +00:00
Richard M. Stallman
c4b55ff15c (fill-region-as-paragraph): If region starts in mid-line,
don't fill the text before that, but count it for indentation.
(fill-region): If region starts in mid-line, keep whole line
in the region, but pass the region start to fill-region-as-paragraph.
1994-12-04 19:49:21 +00:00
Richard M. Stallman
e230790596 (bibtex-mode-map): Delete binding for ".
Don't load in tex-insert-quote.
1994-12-04 14:37:24 +00:00
Richard M. Stallman
0ad0f28fce (picture-self-insert): Use last-command-event,
not last-input-char.
(picture-mode-map): Make the keymap vector 256 chars long.
Fix typo `newline-andindent'.
1994-11-18 20:37:28 +00:00
Richard M. Stallman
2545066897 (texinfo-format-node): Insert the node delimiter
that info is looking for unconditionally.
1994-11-11 13:34:04 +00:00
Karl Heuer
6d94c1b4cb (r2b-help): Set help-mode in *Help* buffer. 1994-11-09 05:48:21 +00:00
Richard M. Stallman
dc7deb17a4 (texinfo-alias-list): New variable.
(texinfo-format-region, texinfo-format-buffer-1): Clear texinfo-alias-list.
(texinfo-format-scan): Implement @alias expansion.
1994-10-31 08:00:37 +00:00
Richard M. Stallman
5ec5330e64 (texinfo-format-scan): Make @- vanish; don't insert -.
(texinfo-format-soft-hyphen): New function.
1994-10-30 20:05:58 +00:00
Richard M. Stallman
c3054b518e (ispell-message-text-end): Match Postcript 3 like 2. 1994-10-26 22:51:08 +00:00
Richard M. Stallman
a461b8e01e (fill-individual-paragraphs): Avoid infinite loop
if mailp is set and no message was yanked.
1994-10-26 09:32:04 +00:00
Richard M. Stallman
e8649704b1 (ispell-grep-command, ispell-look-command): Don't specify directory. 1994-10-25 06:10:26 +00:00
Richard M. Stallman
22378c0edb (latex-mode): Recognize \item etc. that have no arg
because only a comment follows.
1994-10-23 20:39:25 +00:00
Richard M. Stallman
c5928db298 (texinfo-no-refill-regexp): Recognize @ifhtml, @html.
(texinfo-format-ifhtml, texinfo-format-html): New functions.
(texinfo-format-enddots): New function.
1994-10-16 01:34:57 +00:00
Simon Marshall
2ab3bf87ff * texinfo.el: (texinfo-mode): Set font-lock-defaults. 1994-10-12 09:21:47 +00:00
Simon Marshall
d31e6eafc2 * outline.el: (outline-mode): Set font-lock-defaults. 1994-10-12 09:00:56 +00:00
Richard M. Stallman
0d548e5d7b (compare-windows-whitespace): Eliminate initial value.
(tex-region): Don't delete temp files if we do
one buffer twice in a row.
1994-10-11 18:51:29 +00:00
Richard M. Stallman
29aec36676 (ispell-highlight-spelling-error):
Have just one definition, which decides what to do.
(ispell-command-loop): New args START and END.  Do highlighting
and unhighlighting here.
(ispell-word, ispell-region, ispell-complete-word): Not here.
(ispell-highlight-spelling-error-generic): Bind buffer-undo-list to t.
1994-10-10 01:01:20 +00:00
Richard M. Stallman
0ece5f43e3 (texinfo-font-lock-keywords): New variable.
(texinfo-mode): Set font-lock-keywords locally.
1994-10-07 10:05:49 +00:00
Richard M. Stallman
b9998c334d (outline-font-lock-keywords): New variable.
(outline-mode): Set font-lock-keywords locally.
1994-10-07 09:54:58 +00:00
Richard M. Stallman
37248de29e (texinfo-format-scan): Accept @^, @", @?, @!, @-. 1994-10-05 00:47:30 +00:00
Richard M. Stallman
481c029557 (fill-region, fill-region-as-paragraph): Fix previous change. 1994-10-02 02:23:21 +00:00
Richard M. Stallman
fc35793099 (fill-region, fill-region-as-paragraph):
If specified region ends before a newline, include that newline.
1994-10-01 07:35:26 +00:00
Richard M. Stallman
a8928dd22f (ispell-init-process): Add missing arg in error msg. 1994-10-01 04:30:14 +00:00
Richard M. Stallman
214b69d9e9 (texinfo-format-region, texinfo-format-buffer-1):
Search back for the @include.
1994-09-29 18:51:54 +00:00
Richard M. Stallman
b0e1e38fa9 (backward-kill-sentence): Work in read-only buffers.
(kill-sentence): Work in read-only buffers.
1994-09-28 04:46:02 +00:00
Richard M. Stallman
30d653c401 (justify-current-line): Inherit props when inserting spaces. 1994-09-23 20:46:35 +00:00
Francesco Potortì
130f43af3d * ispell.el (check-ispell-version): suggest to try ispell4.el if
version does not match.
1994-09-22 11:41:17 +00:00
Richard M. Stallman
2ee658c39e (picture-yank-at-click): New function. 1994-09-19 05:51:16 +00:00
Richard M. Stallman
dbfaa1b1ff (tex-start-shell): Inherit comint-mode-map, don't copy. 1994-09-18 20:30:01 +00:00
Karl Heuer
81b328e5d1 (ispell-menu-map): Order menu items by size: buffer > region > word. 1994-09-17 00:28:47 +00:00
Richard M. Stallman
0349bab642 (ispell-highlight-spelling-error): Test window-system.
(ispell-check-only): New variable.
(ispell-word): Handle ispell-check-only.
(ispell-minor-mode): New variable.
(ispell-minor-keymap): New map.
(ispell-minor-mode): New function.
1994-09-16 23:10:44 +00:00
Richard M. Stallman
944fa80ad3 (forward-page): If we find a match that ends where we
started searching, look for another one.
1994-09-15 03:21:56 +00:00
Richard M. Stallman
60d4887419 Further split the Ispell menu autoloads. 1994-09-11 05:43:50 +00:00
Karl Heuer
f709e2e130 (put-string-on-kill-ring): Delete this function.
(bibtex-current-entry-label): Use kill-new instead.
1994-09-08 17:44:42 +00:00
Richard M. Stallman
e8c138c21b (outline-minor-mode-prefix): Doc fix. 1994-09-03 00:07:49 +00:00
Richard M. Stallman
99b11016b7 (ispell-dictionary-alist-1): For English, remove hyphen from the OTHERCHARS. 1994-08-31 22:20:32 +00:00
Richard M. Stallman
1644b1a55f (outline-mode-prefix-map): New variable.
Define all the C-c commands here.
(outline-mode-menu-bar-map): New variable, holds local menu-bar keymap.
(outline-mode-map): Bind C-c and menu-bar to those maps.
(outline-minor-mode-map): Likewise use those submaps for the prefixes.
1994-08-27 21:02:12 +00:00
Richard M. Stallman
7195bb7169 (ispell-buffer-local-words): Don't treat doublequote
specially when splitting the line into words.
1994-08-24 19:53:17 +00:00