1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

8688 Commits

Author SHA1 Message Date
Richard M. Stallman
f52b232edd (tex-main-file, outline-minor-mode): Add defvars. 1997-06-11 04:51:57 +00:00
Richard M. Stallman
025bb6359e Updated documentation at several points in the file.
(reftex-label-alist-builtin): New default environment subfigure.
(reftex-find-duplicate-labels): Temporary buffer is now
"*Duplicate Labels*" instead of "*Help*".
(reftex-bibtex-selection-callback): Renamed variable found-list.
(reftex-found-list): Added defvar for this variable.
(TeX-master): Added defvar for this variable.
(reftex-reset-mode): Kill temporary buffers associated with RefTeX.
1997-06-11 04:45:34 +00:00
Kenichi Handa
95fa03b4fb (view-hello-file): Adjusted for the changes of
coding system names.
1997-06-11 00:38:09 +00:00
Karl Heuer
b50c87ee6e (pc-select-selection-keys-only): New variable.
(pc-select-meta-moves-sexps): New variable.
(exchange-point-and-mark-nomark): New function.
(forward-sexp-mark, forward-sexp-nomark): New functions.
(backward-sexp-mark, backward-sexp-nomark): New functions.
(pc-selection-mode): Doc fix.
Bind exchange-point-and-mark-nomark, C-escape.
Honor pc-select-meta-moves-sexps, pc-select-selection-keys-only.
Unset highlight-nonselected-windows.
1997-06-10 19:44:44 +00:00
Karl Heuer
38bd9da2df Use `error' where possible to signal errors.
Remove (beep)s for warnings.
Change comment about the iif hook to reflect the actual reason.
Correct error in field numbering.

(forms-mode): Make `forms--elements' local before calling
`forms--process-format-list'.

(forms-save-buffer): `forms-write-file-filter' and
`forms-read-file-filter' were not called correctly.
1997-06-10 18:32:33 +00:00
Richard M. Stallman
1a2b7f51aa Add some keywords. 1997-06-10 18:18:07 +00:00
Karl Heuer
24c868149e (f90-looking-at-where-or-forall): Recognize where/forall
only if it's a block, not a one-line statement.
1997-06-10 18:04:01 +00:00
Richard M. Stallman
50e4b39ede (bibtex-mode-map): Changed the binding of the C-TAB
key, such that XEmacs will understand it, too.

(bibtex-format-entry, bibtex-end-of-entry): Give specific
error message if not on valid BibTeX entry.

(bibtex-field-string-quoted): Small bug fix.  Allow
backslash followed by newline.

(bibtex-reposition-window, bibtex-mark-entry): Two new
functions, bound to M-C-l and M-C-h, respectively.

(bibtex-reformat-previous-options, bibtex-reformat-previous-labels):
New internal variables used by bibtex-reformat.

(bibtex-clean-entry-hook): New hook to be called after
entry has been cleaned.
(bibtex-clean-entry): Run the hook bibtex-clean-entry-hook.

(bibtex-entry-field-alist): Small bug fix.
(bibtex-autokey-title-terminators): Made -- a terminator instead
of ---.
(bibtex-font-lock-keywords): Don't treat ALT prefixed entries as
comments.
(bibtex-entry): Fixed parameter list.  This function is not
intended to be called with required and optional fields as
optional arguments anymore.

(bibtex-generate-autokey): Now split into various
small functions.
(bibtex-autokey-names-stretch, bibtex-autokey-additional-names):
New variables used by bibtex-generate-autokey.
(bibtex-autokey-get-namefield, bibtex-autokey-get-names)
(bibtex-autokey-demangle-name, bibtex-autokey-get-namelist)
(bibtex-autokey-get-yearfield, bibtex-autokey-get-titlestring)
(bibtex-autokey-get-titles, bibtex-autokey-get-titlelist):
New helper functions for bibtex-generate-autokey.

(bibtex-submit-bug-report): Report all variables.

(bibtex-contline-indentation): New user option.
(bibtex-entry-offset): Renamed from bibtex-entry-indentation.

(bibtex-entry-field-alist): Used different order for
some fields (as documented in btxdoc.tex).  Changed one of the
comment strings.

(bibtex-mode-hook, bibtex-add-entry-hook): Add var doc.
(bibtex-autokey-before-presentation-hook): New variable to be
called before autokey presentation.
(bibtex-generate-autokey):
Call bibtex-autokey-before-presentation-hook.  Doc fix.

(bibtex-reference-key): Reincluded parentheses.
Parentheses should be disallowed only in field constants.

(bibtex-autokey-transcriptions): Fixed bug (two
entries for `\o' while `\oe' entry was missing).

(bibtex-entry-indentation): New variable to determine
the indentation of all entries.
(bibtex-move-outside-of-entry): Use `skip-chars-forward' instead
of `re-search-forward'.
(bibtex-beginning-of-first-entry, bibtex-beginning-of-last-entry):
Renamed from beginning-of-first-bibtex-entry and
beginning-of-last-bibtex-entry.  Go to beginning of line, return point.
(bibtex-do-auto-fill, bibtex-make-field, bibtex-entry)
(bibtex-String, bibtex-Preamble): Respect `bibtex-entry-indentation'.
(bibtex-beginning-of-entry, bibtex-end-of-entry): Make it work
with indented entries.
(bibtex-count-entries, bibtex-sort-buffer, bibtex-validate,
bibtex-kill-entry, bibtex-reformat): Use return value from
bibtex-beginning-of-first-entry.
(bibtex-clean-entry): Use `bibtex-reference-maybe-empty-head'
instead of a fixed string.

(bibtex-beginning-of-entry, bibtex-end-of-entry): Now
return point if called from a program.
(bibtex-enclosing-field, bibtex-format-entry,
bibtex-generate-autokey, bibtex-parse-keys, bibtex-mode,
bibtex-ispell-entry, bibtex-narrow-to-entry, bibtex-sort-buffer,
bibtex-find-entry-location, bibtex-validate, bibtex-clean-entry,
bibtex-fill-entry): Use new return values of these functions.
(bibtex-ispell-abstract): Bug fix (inherently by the change to
bibtex-end-of-entry).

(bibtex-field-history): New variable for history
buffer of field name reading.
(bibtex-make-field): Use completion.  Object to completion are all
standard fields defined for the current entry.  Bound to `C-c C-f'.
(bibtex-mode): Set `comment-start' and `comment-start-skip' to
"@Comment ", `comment-column' to 0.

(bibtex-autokey-transcriptions): New variable.
(bibtex-autokey-name-change-strings)
(bibtex-autokey-titleword-change-strings):
Use bibtex-autokey-transcriptions as default value.

(bibtex-find-entry-location): Handle empty buffer.

(bibtex-entry-delimiters): New variable to determine
if entries shall be delimited by braces or parentheses.
(bibtex-entry-left-delimiter, bibtex-entry-right-delimiter): New
helper functions.
(bibtex-entry, bibtex-String, bibtex-Preamble): Respect
`bibtex-entry-delimiters'.
(bibtex-entry-format): Doc fix.
(bibtex-reference-key, bibtex-field-const): Removed parentheses
from allowed characters.
(bibtex-end-of-entry): Better handling of incorrect preambles.

(bibtex-validate): Small change to avoid reparsing of
errors, if you enter `compile-goto-error' in compilation buffer.

(bibtex-progress-message): New function to show
progress of some long-lasting functions in BibTeX mode by
indicating percentage of done work.
(bibtex-progress-lastperc, bibtex-progress-lastmes)
(bibtex-progress-interval):
New internal variables for `bibtex-progress-message'.
(bibtex-parse-keys, bibtex-reformat, bibtex-validate): Use new
function `bibtex-progress-message'.
(current-line): New helper function to calculate current
linenumber.  Something like this should really be defined somewhere
else in Emacs.
(bibtex-validate): Changed to show all errors in buffer in a
`compilation mode' buffer.  If there are syntax errors, it aborts
after the syntax check, since higher-level check functions rely on
the syntactical correctness of buffer.  If called from another lisp
function (as `bibtex-convert-alien') the return value shows
whether validating has been successful.  Fixed bug which made
checking for absent required fields work incorrectly.
(bibtex-parse-keys-timeout): Set to a value reasonable higher
(twice as high) than `lazy-lock-stealth-time'.
(bibtex-member-of-regexp, assoc-of-regexp): Small cosmetic changes.

(bibtex-buffer-last-parsed-tick): Renamed from
bibtex-buffer-last-parsed-for-keys-tick and made it really
buffer-local (bug fix).
(bibtex-parse-keys): Make it use bibtex-buffer-last-parsed-tick.
(bibtex-parse-buffers-stealthily): New function which parses all
BibTeX buffers if emacs has been idle an efficient amount of time.
(bibtex-parse-idle-timer): New variable which stores whether idle
timer for parsing already is installed.
(bibtex-parse-keys): Make it callable verbosely.  Returns now nil
if it has been aborted.
(bibtex-mode): Run the new function bibtex-parse-buffers-stealthily.

(bibtex-generate-autokey): Changed the name part
generation (bugfix).  This function handles now correctly all three
forms of BibTeX names, "First von Last", "von Last, First", "von
Last, Jr, First".  In every case the "Last" part is correctly
extracted.  If the "Last" part consists of more than one token only
the first is used.  Name fields spread over more than one line are
no problem anymore.

(bibtex-entry-format): Changed default value to
exclude 'page-dashes.  Modified documentation.
(bibtex-autokey-name-change-strings)
(bibtex-autokey-titleword-abbrevs)
(bibtex-autokey-titleword-change-strings, bibtex-entry)
(bibtex-validate): Doc fixes.
(bibtex-mode-map): Bound `C-c $' to bibtex-ispell-abstract.
(bibtex-generate-autokey): Changed documentation.  Small
modification in calculating title field.
(bibtex-mode): Included bibtex-ispell-entry into the list of
`interesting' functions.
(bibtex-kill-field): Bug fix (killing of first field in entry
yielded error).

(bibtex-string-file-path): New variable which defines
the path to search for bibtex-string-files.  It defaults to
contents of environment variable BIBINPUTS.
(bibtex-mode): Use this variable.

(bibtex-next-field, bibtex-find-text): Will now work
with string entries as well.

(bibtex-mode-map): bibtex-complete-key wasn't bound
correctly.
(bibtex-complete): Fixed bug (used string entries defined in
buffer as object to completion).

(Menu): Use easymenu.  More menu items for
`BibTeX-Edit' menu.  Use nested menus.

(bibtex-field-kill-ring-max)
(bibtex-entry-kill-ring-max): Two new variables substituting
bibtex-kill-ring-max.
(bibtex-field-kill-ring, bibtex-entry-kill-ring): Two new
variables substituting bibtex-kill-ring.
(bibtex-field-kill-ring-yank-pointer)
(bibtex-entry-kill-ring-yank-pointer): Two new variables
substituting bibtex-kill-ring-yank-pointer.
(bibtex-last-kill-command): New variable keeping the type of the
last kill command.
(bibtex-insert-current-kill): Clean distinction between the two
BibTeX kill rings.
(bibtex-kill-field): Use new variable bibtex-field-kill-ring.
(bibtex-kill-entry): Use new variable bibtex-entry-kill-ring.

(bibtex-kill-ring, bibtex-kill-ring-yank-pointer): New
internal variables like kill-ring and kill-ring-yank-pointer, but
bibtex-kill-ring holds fields or complete reference entries
instead of raw strings.
(bibtex-kill-ring-max): New user option similar to kill-ring-max.
(bibtex-kill-field): Renamed from bibtex-delete-field again.  It
now supports the new variable bibtex-kill-ring.
(bibtex-copy-field-as-kill, bibtex-kill-entry)
(bibtex-copy-entry-as-kill, bibtex-yank, bibtex-yank-pop): New
interactive functions, which work on the bibtex-kill-ring
variable.
(bibtex-insert-current-kill): New helper function to insert
contents of bibtex-kill-ring in an appropriate way.
(bibtex-make-field): New optional argument to tell the function if
it was called by bibtex-yank.  It operates slightly different then.
(bibtex-find-text): New optional argument to tell the function if
it was called by bibtex-make-field.  It moves in this case to the
end of the key if it was called on the reference head line.  If it
is called interactively on the head line, it works in an
appropriate manner, too.
(bibtex-enclosing-field): New optional argument to tell
bibtex-enclosing-field not to print an error message if enclosing
field isn't found, but to return nil in this case (t is returned
otherwise).  This is used by bibtex-find-text such that no error
message is given if bibtex-find-text is called interactively in
the key line of an entry.

(bibtex-autokey-year-use-crossref-entry): New variable
to determine if crossreferenced entry should be used for autokey
generation, if year field of current entry is absent.
(bibtex-generate-autokey): Use this new variable.

(bibtex-include-OPTannote): Deleted (is set in
bibtex-user-optional-fields).
(bibtex-entry, bibtex-print-help-message): Removed support for
bibtex-include-OPTannote.

(bibtex-entry-format): New constant
`inherit-booktitle' allowed.

(bibtex-mode): Set value for
font-lock-mark-block-function.

(bibtex-font-lock-keywords): Changed to distinguish
optional from ordinary fields.
(bibtex-format-entry, bibtex-print-help-message)
(bibtex-remove-OPT-or-ALT, bibtex-pop): Used simpler regexps.

(bibtex-delete-field): Changed from
bibtex-delete-optional-or-alternative-field.  Deletes now mandatory
fields as well.
(bibtex-mode): Changed documentation.

(bibtex-entry-type-history, bibtex-key-history): New
variables to use own histories in BibTeX buffers.
(bibtex-entry, bibtex-clean-entry, bibtex-String): Use these new
variables.

(bibtex-entry, bibtex-make-field): A function can now
be used to generate a fields init string.
(bibtex-include-OPTkey, bibtex-include-OPTannote)
(bibtex-entry-field-alist): Changed documentation accordingly.

(bibtex-mode): bibtex-parse-keys on start of mode is
now abortable, too.
(bibtex-entry, bibtex-complete-key, bibtex-String): If bibtex-keys
isn't set correctly due to abortion of bibtex-parse-keys, this
function is called now non-abortable.

(bibtex-entry-field-alist): Small change in comments.

(bibtex-find-entry-location): Bug fix: Insertion into
completely empty buffer didn't work.

(bibtex-user-optional-fields): Renamed from
bibtex-mode-user-optional-fields.
(bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message):
Use bibtex-user-optional-fields.

(bibtex-remove-delimiters): Bug fix: Only remove
delimiting braces and not those inside fields.

(skip-to-valid-bibtex-entry, bibtex-parse-keys)
(bibtex-end-of-entry, bibtex-validate, bibtex-reformat): Calculate
complex regexps outside of loops.
(bibtex-mode): Changed documentation on how to convert third party
buffers.

(bibtex-convert-alien): New function to convert a
buffer not created by BibTeX mode to a format, whichs enables all
features of BibTeX mode.
(bibtex-mode): Small bug fix for call to bibtex-parse-keys.

(bibtex-mode): Bug fix for using bibtex-parse-keys.

(bibtex-mode): Used other policy to initiate the first
call of bibtex-parse-keys.  This avoids unnecessary double call if
Font Lock mode is chosen for buffer at startup.

(bibtex-String, bibtex-Preamble): Renamed from
bibtex-string and bibtex-preamble.
(bibtex-String): If bibtex-maintain-sorted-entries and
bibtex-sort-ignore-string-entries are both non-nil, read string
key from minibuffer (with completion) and insert entry at correct
location (as for normal entries).

(bibtex-autokey-titleword-first-ignore)
(bibtex-autokey-titleword-abbrevs): Changed documentation: case of
regexps doesn't matter anymore.
(bibtex-field-const, bibtex-reference-key): Simplified to not
contain uppercase letters.
(member-of-regexp, assoc-of-regexp): Ignore case of regexp.
(map-bibtex-entries): Call function not for every syntactical correct
entry, but only for entries with known type.
(map-bibtex-entries, skip-to-valid-bibtex-entry)
(bibtex-flash-head, bibtex-enclosing-field)
(bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry)
(bibtex-autokey-change, bibtex-generate-autokey, bibtex-parse-keys)
(bibtex-ispell-abstract, bibtex-sort-buffer)
(bibtex-find-entry-location, bibtex-validate, bibtex-remove-delimiters)
(bibtex-delete-optional-or-alternative-field, bibtex-pop)
(bibtex-clean-entry, bibtex-print-help-message): Make them work
regardless of user's value of case-fold-search.
(bibtex-generate-autokey): Use bibtex-cfield for generating the
year field regexp.
(bibtex-parse-keys): Only gather keys of known (and not of
syntactical correct) entries.
(bibtex-end-of-entry): Only report an "unknown entry" message if
called interactively.

(bibtex-sort-ignore-string-entries): Renamed back from
bibtex-sort-ignore-string-and-preamble.  Of course, preambles are
always ignored, since they have no key at all.
(bibtex-string): Slightly less complex regexp.
(skip-to-valid-bibtex-entry): New helper function to skip forward
(or backward) to beginning of next syntactical correct known
BibTeX entry, if not already there.  Respects
bibtex-sort-ignore-string-entries.
(map-bibtex-entries): Bug fix: It wasn't called for string entries
even if bibtex-sort-ignore-string-entries was nil.
(beginning-of-last-bibtex-entry): New helper function to go to
last entry in buffer.
(bibtex-end-of-entry): Bug fix: Now works with string and preamble
entries as well.
(bibtex-sort-buffer): Renamed from bibtex-sort-entries.  Simplified
by using new function skip-to-valid-bibtex-entry.  Now only known
entries are checked.
(bibtex-find-entry-location): Simplified by using new functions
skip-to-valid-bibtex-entry and beginning-of-last-bibtex-entry.
Only known entries are used to determine location.
(bibtex-validate): Now checks string entries, too.
(bibtex-move-outside-of-entry): Don't use forward-paragraph, but
bibtex-end-of-entry.

(bibtex-end-of-entry): Don't use forward-sexp anymore,
since this fails on entries with non-escaped souble-quotes.  Use
search-bibtex-reference instead (though it is slower, it is more
reliable).
(bibtex-ispell-abstract): Use normal regexps created by
bibtex-cfield instead of special ones.

(beginning-of-first-bibtex-entry): No warning on
empty buffer.

(bibtex-validate): Bug fix.  Syntactical check didn't
work, since due to a bug all entries were simply skipped.

(bibtex-mode): Doc fix.
(bibtex-delete-optional-or-alternative-field): Renamed from
bibtex-kill-optional-or-alternative-field.
(bibtex-delete-optional-or-alternative-field, bibtex-empty-field):
Use delete-region, not kill-region.
(bibtex-clean-entry): New second argument called-by-reformat
indicates if bibtex-clean-entry was called by reformat.  Don't try
to find correct buffer position for newly generated key and don't
call bibtex-parse-keys in this case.

(map-bibtex-entries): Bugfix (missed first entry in
buffer, died on entries with `@' in other than first column).
(beginning-of-first-bibtex-entry, bibtex-format-entry)
(bibtex-beginning-of-entry, bibtex-validate, bibtex-clean-entry):
Changed to allow BibTeX entries to start in a column different
from 1 (but still for speed reasons only whitespace is allowed
prior to the `@' on the same line.

(map-bibtex-entries): Call it for known BibTeX entries
only.  This allows entries as @Comment{...} which follow no
specific structure without breaking the validation functions.
(bibtex-validate): Check syntactical structure for known entries
only.

(bibtex-autokey-abbrev): Sped up and changed to allow
a length of zero.

(bibtex-entry-format): Remove option `month-strings'.
(bibtex-validate): If given a prefix argument, check for
questionable month fields.

(bibtex-generate-autokey): Use normal regexps created
by bibtex-cfield instead of special ones.
(bibtex-hide-entry-bodies): Sped up by using subst-char-in-region
instead of using replace-regexp or replace-match.
(bibtex-find-entry-location): A bug had been introduced by using
search-bibtex-reference instead of re-search-forward (fixed).

(bibtex-field-delimiters): Renamed from
bibtex-field-delimiter.
(bibtex-entry-format): Constant empty-opts renamed to
empty-opts-or-alts.
(bibtex-remove-delimiters): Renamed from
bibtex-remove-double-quotes-or-braces.
(bibtex-reformat): New function.

(bibtex-fill-entry): New function to refill entry.
(bibtex-mode-map): Defined key for bibtex-fill-entry.

(bibtex-field-delimiter): Substitutes variables
bibtex-field-left-delimiter and bibtex-field-right-delimiter.
(bibtex-field-left-delimiter, bibtex-field-right-delimiter): New
helper functions.
(bibtex-make-field, bibtex-pop): Use new variable
bibtex-field-delimiter.
(bibtex-empty-field, bibtex-string): Use new functions
bibtex-field-left-delimiter and bibtex-field-right-delimiter.
(bibtex-predefined-month-strings): New variable.
(bibtex-predefined-strings): Use bibtex-predefined-month-strings.
(bibtex-submit-bug-report): Use new variables
bibtex-field-delimiter and bibtex-predefined-month-strings.

(bibtex-entry-format): Substitutes variable
bibtex-clean-entry-zap-empty-opts-or-alts.  Various types of
formatting options are available (see variable documentation).
(bibtex-format-entry): New function doing the formatting of entries.
Taken from bibtex-clean-entry and enhanced to support new variable
bibtex-entry-format.
(delete-whitespace): New helper function used by bibtex-format-entry.
(bibtex-clean-entry): Call new function bibtex-format-entry.
(bibtex-submit-bug-report): Use bibtex-entry-format instead of
bibtex-clean-entry-zap-empty-opts-or-alts.
(bibtex-do-auto-fill): New function to perform auto-filling in
BibTeX mode.  In fact, this is the old function
bibtex-auto-fill-function.
(bibtex-mode): Don't set fill-prefix anymore, but use new function
bibtex-do-auto-fill.

(bibtex-find-entry-location): Fixed bug (when
bibtex-maintain-sorted-entries was non-nil, an entry with a key
greater than all other keys wasn't inserted in the correct place).

(bibtex-mode): Don't use bibtex-auto-fill-function
anymore, but use directly variable fill-prefix.

(bibtex-find-entry-location): Fixed bug (on duplicate
keys, point must move to beginning of entry, so that bibtex-entry
works correctly).

(bibtex-complete): Fixed bug (parameter string-list
was mistakenly altered by the function itself).

(bibtex-mode-map): Bind bibtex-complete-key to C-TAB.

(bibtex-validate): Renamed from bibtex-validate-buffer
since it can acts on region if active.  Use search-bibtex-reference.
(search-bibtex-reference): New function to be used in places where
prior a re-search-{forward|backward} for bibtex-reference or
something alike was used.  This function is necessary due to the
new limit of failure stack size in 19.32 and above.
(bibtex-enclosing-reference-maybe-empty-head)
(bibtex-sort-entries, bibtex-find-entry-location, bibtex-validate):
Use new function search-bibtex-reference.
(bibtex-pop, bibtex-clean-entry): Small change due to change in
bibtex-enclosing-reference-maybe-empty-head.
(bibtex-reference-infix, bibtex-reference-postfix): New constants
necessary due to splitting bibtex-reference.
(bibtex-reference): Deleted.
(bibtex-type-in-reference, skip-whitespace-and-comments): Deleted.

(bibtex-mode): Don't turn auto-fill-mode on.  Use new
variable normal-auto-fill-function.

(bibtex-field-string): Simplified.

(bibtex-mode-syntax-table): Changed syntax of
double-quote back to quote syntax.

(bibtex-complete): New generic function for interface
functions bibtex-complete-string and bibtex-complete-key.
(bibtex-complete-key): New function.

(bibtex-sort-ignore-string-and-preamble): Renamed from
bibtex-sort-ignore-string-entries.
(map-bibtex-entries): Use bibtex-sort-ignore-string-and-preamble
and ignore preamble entries as well.
(bibtex-mode, bibtex-submit-bug-report, bibtex-sort-entries):
Use bibtex-sort-ignore-string-and-preamble.
(bibtex-count-entries): New function to count entries in buffer or
region.

(bibtex-comma-after-last-field): New variable to
decide if comma should be inserted at end of last field.
(bibtex-entry): Support new variable bibtex-comma-after-last-field.

(bibtex-field-indentation, bibtex-text-indentation):
Two new user options (replacing the former constants
bibtex-field-alignment and bibtex-text-alignment).
(bibtex-align-at-equal-sign): New user option.
(bibtex-auto-fill-function, bibtex-make-field)
(bibtex-remove-OPT-or-ALT, bibtex-clean-entry): Support new variables.

(bibtex-validate-buffer): Now only checks region if
mark is active.  With optional argument checks if required fields
are missing, too.

(bibtex-mode): Added support for imenu.

(bibtex-entry-field-alist)
(bibtex-mode-user-optional-fields): Modified syntax to allow
preinitialization of fields.
(bibtex-make-field, bibtex-make-optional-field):
Support preinitialization of fields.

(bibtex-autokey-prefix-string)
(bibtex-autokey-preserve-case): New variables to support
bibtex-generate-autokey.
(bibtex-generate-autokey): Use new variables.

(bibtex-field-const, bibtex-reference-type)
(bibtex-reference-key): Changed to match the (according to Oren
Patashnik) allowed characters.

(bibtex-clean-entry-zap-empty-opts-or-alts): Renamed
from bibtex-clean-entry-zap-empty-opts.
(bibtex-entry-field-alist): Slightly modified syntax to support
alternative fields needed for Book and InBook references.
(bibtex-font-lock-keywords, bibtex-print-help-message)
(bibtex-make-field, bibtex-pop, bibtex-clean-entry):
Support ALT prefixed entries.
(bibtex-mode): Documented new ALT prefixed fields.
(bibtex-make-optional-field): Modified to give only field name as
arg to bibtex-make-field.
(bibtex-remove-OPT-or-ALT, bibtex-kill-optional-or-alternative-field):
Renamed from bibtex-remove-OPT and bibtex-kill-optional-field,
respectively.  Modified to support ALT prefixes.

(bibtex-enclosing-field, bibtex-print-help-message):
Speed up things by not using bibtex-enclosing-regexp anymore.
(bibtex-enclosing-regexp): Function deleted.
1997-06-10 17:58:43 +00:00
Karl Heuer
a09aa65951 Comment fix. 1997-06-10 17:55:36 +00:00
Richard M. Stallman
fac9f1df1a Load latin-5.el. 1997-06-10 06:44:01 +00:00
Richard M. Stallman
0333a1cc1c Added the string "emacs-lock" to all function
and variable names, to make them unique to emacs-lock.

(check-was-buffer-locked): New function,
on shell-mode-hook and telnet-mode-hook.
(save-buffer-lock-setting): New permanent local variable.

(check-buffer-lock): New function, on kill-buffer-hook.
(set-shell-sentinel): New function, on shell-mode-hook
and telnet-mode-hook.
1997-06-10 03:54:58 +00:00
Richard M. Stallman
49adf44396 Delete syntax stuff for Latin-1 and Latin-2. 1997-06-10 02:12:27 +00:00
Richard M. Stallman
698f40ca01 (mail-parse-comma-list): Use buffer-substring-no-properties. 1997-06-10 01:26:11 +00:00
Kenichi Handa
4b9121fc86 Adjusted for coding system name change. 1997-06-10 01:08:21 +00:00
Kenichi Handa
c47cd165b0 Coding system name changed from
iso-2022-7 to iso-2022-7bit.
1997-06-10 00:57:19 +00:00
Kenichi Handa
255310e037 (quail-prefix-arg): New variable.
(quail-start-translation): Make it handle a prefix argument.
(quail-terminate-translation): Like wise.
1997-06-10 00:56:22 +00:00
Kenichi Handa
88d9cc1e14 (set-coding-system-alist): Deleted.
(string-to-sequence): Doc string modified.
(coding-system-list): Add optional arg BASE-ONLY.
(coding-system-base): New function.
(coding-system-plist): New function.
(coding-system-equal): New function.
(coding-system-unification-table): New function.
1997-06-10 00:56:20 +00:00
Kenichi Handa
795a5f848e (describe-coding-system): Change format of output.
(describe-current-coding-system-briefly): Likewise.
(describe-current-coding-system): Likewise.
(print-coding-system-briefly): Likewise.
(print-coding-system): Likewise.
(list-coding-systems): Likewise.  Make it interactive.
1997-06-10 00:56:19 +00:00
Kenichi Handa
0ae6d4825d (kkc-save-init-file): Coding system name changed from
iso-2022-7 to iso-2022-7bit.
1997-06-10 00:56:18 +00:00
Kenichi Handa
4b16fa0c6e Comment changed (iso-2022-7 -> iso-2022-7bit). 1997-06-10 00:56:17 +00:00
Kenichi Handa
4951a271e0 Coding system names changed. 1997-06-10 00:56:16 +00:00
Kenichi Handa
8057896bd0 Delete declaration for buffer-file-coding-system. It
is done in buffer.c now.  In the comment, change coding-system to
coding system.  The name coding-vector is changed to coding-spec.
(coding-vector-type, coding-vector-mnemonic,
coding-vector-docstring, coding-vector-flags): Deleted.
(coding-system-spec-ref): New function.
(coding-system-type, coding-system-mnemonic, coding-system-flags):
Use coding-system-spec-ref.
(coding-system-doc-string): Renamed from coding-system-docstring.
(coding-system-eol-type): Renamed from coding-system-eoltype.
(coding-system-eol-type-mnemonic): Moved to mule-util.el.
(coding-system-post-read-conversion): Likewise.
(coding-system-pre-write-conversion): Likewise.
(default-process-coding-system): Deleted.  Now declared in
buffer.c.
(make-subsidiary-coding-system): New function.
(make-coding-system): Check arguments more strictly.  Do not make
-unix, -dos, -mac variants for TYPE 4.
(define-coding-system-alias): Call make-subsidiary-coding-system.
(set-buffer-file-coding-system): Adjusted for the function name
changes.
(find-new-buffer-file-coding-system): Likewise.
(default-process-coding-system): Deleted.  Now defined in coding.c.
1997-06-10 00:56:15 +00:00
Richard M. Stallman
9d07cf38e7 (debug): Set overriding-terminal-local-map to nil,
don't bind it, so it won't be restored on `q'.
1997-06-09 16:42:34 +00:00
Kenichi Handa
c5ee9ef188 (do-auto-fill): Type in the previous change fixed. 1997-06-09 13:07:45 +00:00
Kenichi Handa
53dcf39300 (do-auto-fill): Bug fix for kinsoku processing. 1997-06-09 12:51:42 +00:00
Kenichi Handa
a904b20bf2 Define mouse-set-font in mule-menu-keymap.
Disable menu set-buffer-process-coding-system if there is no
process for the current buffer.
(command-execute-with-coding-system): New function.
(universal-coding-system-argument): Make it handle
universal-arguement correctly.
(describe-language-support): Call coding-system-doc-string instead
of coding-system-docstring.
1997-06-09 12:51:37 +00:00
Erik Naggum
9125efc29c Normalized character names. 1997-06-09 10:39:19 +00:00
Richard M. Stallman
7d2d948212 (diff-switches): defvar deleted.
(vc-annotate-*): New functions and variables.
1997-06-09 06:01:12 +00:00
Michael Kifer
726e270f85 new version 1997-06-09 04:00:50 +00:00
Richard M. Stallman
fdac7fbaa2 (time-stamp-string-preprocess, time-stamp-do-number):
Avoid compiler warnings: pass all arguments to time-stamp-do-number
explicitly, not dynamically.
1997-06-08 21:45:16 +00:00
Richard M. Stallman
fd72ddf609 (time-stamp-format): Doc fix. Use %;y.
(time-stamp-string-preprocess): Don't just call format-time-string;
handle compatibility for some old constructs.  Handle padding
the historical way, while giving a warning if people actually depend on it.
(time-stamp-conv-warn, time-stamp-conversion-warn)
(time-stamp-do-number): New functions.
1997-06-08 21:43:08 +00:00
Richard M. Stallman
e9f527a0ce (webjump-sample-sites): Change the hot list.
(webjump): Doc change.
1997-06-08 21:13:21 +00:00
Richard M. Stallman
94955307b6 (mail-directory-parser): Fix previous change. 1997-06-08 20:50:45 +00:00
Richard M. Stallman
cd63e73b03 (icon-font-lock-keywords-2): Use regexp-opt for the regexps. 1997-06-08 20:20:56 +00:00
Richard M. Stallman
29e2b496f0 (debug, debugger-eval-expression):
Treat overriding-terminal-local-map like overriding-local-map.
(debugger-outer-overriding-terminal-local-map): New variable.
1997-06-08 12:25:25 +00:00
Richard M. Stallman
feaec97dd4 (file-name-non-special): Handle
file-name-completion and file-name-all-completions.
1997-06-08 03:26:07 +00:00
Richard M. Stallman
1c0961640a (command-line): Don't call face-initialize.
(command-line): If environment specifies ISO 8859,
always set up for both singe-byte and multibyte operation.
But set-language-environment does most of the job now.
1997-06-07 23:15:30 +00:00
Richard M. Stallman
31407d5d6e Customize. Doc fixes.
Mark some risky local variables.
1997-06-07 23:12:19 +00:00
Richard M. Stallman
534a6edf9b (dired-unmark-all-marks):
Renamed from dired-unmark-all-files-no-query.
1997-06-07 19:31:24 +00:00
Richard M. Stallman
15bc5d3b52 (setup-8-bit-environment):
Load the file with load, not require, so that we reload it if nec.
1997-06-07 07:02:02 +00:00
Richard M. Stallman
aad1beef66 ("English"): Improve doc string. 1997-06-07 06:20:06 +00:00
Richard M. Stallman
3d48f82823 (describe-european-environment-map):
Renamed from describe-european-support-map.

(setup-8-bit-environment):
Do not set set-case-syntax-offset.
Subtract 128 when setting nonascii-insert-offset.
Require latin-N if appropriate.
1997-06-07 05:56:20 +00:00
Richard M. Stallman
cff1677f48 (describe-chinese-environment-map):
Renamed from describe-chinese-support-map.
1997-06-07 05:54:32 +00:00
Richard M. Stallman
101496b159 (describe-cyrillic-environment-map):
Renamed from describe-cyrillic-support-map.
1997-06-07 05:54:15 +00:00
Richard M. Stallman
b15c3f11ac describe-indian-environment-map renamed from describe-indian-support-map. 1997-06-07 05:53:53 +00:00
Richard M. Stallman
1111a6da57 (describe-indian-environment-map):
Renamed from describe-indian-support-map.
1997-06-07 05:53:10 +00:00
Richard M. Stallman
281d03ec9e (describe-language-environment):
Renamed from describe-language-support.
Do the real work here; don't call describe-specified-language-support.
Print the mnemonics when mentioning coding systems.
Improve style of output.
(describe-specified-language-environment):
Renamed from describe-specified-language-support.
Don't do the work here; call describe-language-environment.
(describe-language-environment-map):
Renamed from describe-language-support-map.
1997-06-07 05:36:13 +00:00
Richard M. Stallman
20d4994d96 Re-add copying permission text. 1997-06-06 19:16:26 +00:00
Richard M. Stallman
660d4800ea (diff-command): Fix previous change. 1997-06-06 18:21:19 +00:00
Simon Marshall
25544ce1bd emit charsets after strings so that the final regexp finds the longest match. 1997-06-06 07:10:24 +00:00