Commit graph

889 commits

Author SHA1 Message Date
Richard M. Stallman
bb801a426f (fill-paragraph):
Bind fill-paragraph-function to nil, if it doesn't do the job.
1998-06-05 22:27:42 +00:00
Dave Love
4fa91cfecc (sgml-font-lock-keywords-1): Add -. as
NMCHARs.  Elide upper case (see font-lock-defaults).  Generalize
comment declaration not to exclude markup.
1998-06-01 16:51:52 +00:00
Karl Heuer
2c02e31305 Bind f2 and C-x 6 prefixes
only via an autoload, not when this file is loaded.
1998-06-01 03:03:00 +00:00
Karl Heuer
68dabb618a Undo May 15 change. 1998-05-30 15:14:47 +00:00
Richard M. Stallman
32fbd2a380 (sgml-font-lock-keywords-1): Accept upper case like lower case. 1998-05-25 03:28:06 +00:00
Richard M. Stallman
78652ce8bd (fill-region-as-paragraph):
Don't add a newline at the end, when there is none.
1998-05-23 20:00:18 +00:00
Richard M. Stallman
1ea3de08e7 (tex-command-end): New variable.
(tex-start-tex): Use it.
(plain-tex-mode): Locally set tex-command-end.
(tex-common-initialization): Make local binding for it.x
1998-05-19 04:27:28 +00:00
Richard M. Stallman
313aaa0cc9 (ispell-dictionary-alist-1): Doc fix.
(ispell-dictionary-alist-2): Doc fix.
1998-05-12 23:27:21 +00:00
Richard M. Stallman
a9e5664e49 (ispell-word): Make M-$ binding using esc-map. 1998-05-07 23:21:15 +00:00
Richard M. Stallman
9e832d815b (sgml-mode-common): Make local binding from adaptive-fill-regexp. 1998-05-07 04:51:41 +00:00
Carsten Dominik
ae34e88116 C. Dominik <cd@gnu.org>
Added :version tags to defcustoms
1998-05-01 08:26:20 +00:00
Richard M. Stallman
f5136913a1 Generalized region skipping added.
Checks comments only in code.
Added backward compatible support for customize.
(ispell-query-replace-choices, ispell-message-dictionary-alist)
(ispell-grep-command, ispell-grep-options, ispell-look-command)
(ispell-look-options, ispell-use-ptys-p, ispell-local-dictionary)
(ispell-dictionary-alist): Now customizable.
Fixed type of custom variables: ispell-help-in-bufferp.
(ispell-use-framepop-p): New variable.
(ispell-dictionary-alist): Added dictionaries: castellano, castellano8
czech, esperanto, esperanto-tex, norsk, russian.
Capitalize XEmacs correctly, and change lucid to xemacs in code:
(ispell-menu-lucid): Renamed to ispell-menu-xemacs.
Changed string compares for version number to be correct for XEmacs.
Fixed to work with string properties.
(ispell-recursive-edit-marker): new marker saving return point.
(ispell-skip-region-alist): New variable defining regions.
(ispell-tex-skip-alists): New variable for LaTeX regions.
(ispell-skip-sgml): Now buffer-mode aware.
(ispell-highlight-p): Support block cursors.
(ispell-message-text-end): Don't check signatures.
(ispell-comments-and-strings): New command, added to menu.
(ispell-int-char): New function for character incrementing.
(ispell-word): Produces message on error when called from
ispell-minor-mode.  Potential infinite loop removed.
(ispell-command-loop): prevent XEmacs modeline hiding.
Allow temporary split of dedicated windows.  Improve recursive
edit support.  Support block cursors.
(ispell-show-choices): New function cleaning up command loop.
(ispell-highlight-spelling-error-generic): Block cursor support added.
(ispell-highlight-spelling-error-xemacs): Block cursor, name change.
(ispell-overlay-window): dedicated window splitting, XEmacs changes.
(ispell-parse-output): Displays ispell process error messages.
(check-ispell-version): Interactive mode that shows ispell versions.
(ispell-begin-skip-region-regexp): New region skipping function.
(ispell-begin-tex-skip-regexp): New tex mode region skipping function.
(ispell-begin-skip-region): New region skipping function.
(ispell-tex-arg-end): New tex mode region skipping function.
(ispell-skip-region): New region skipping function.
(ispell-get-line): New function to clean up command loop.
(ispell-process-line): New function cleaning up command loop.
(ispell-continue): Improve recursive editor support.
(ispell-complete-word): Interior fragment support improved.
(ispell-message): Region skipping vastly improved.
1998-04-30 06:43:48 +00:00
Richard M. Stallman
dcf5e726b5 (ispell-message): Use rfc822-goto-eoh. 1998-04-30 06:40:47 +00:00
Richard M. Stallman
41bee2813d (outline-discard-overlays):
Interpret PROP as a value for `invisible', not as property name.
1998-04-27 01:41:22 +00:00
Richard M. Stallman
c6a635346e (sgml-font-lock-keywords-1): Copy initialization from sgml-font-lock-keywords.
(sgml-font-lock-keywords): Initialize from sgml-font-lock-keywords-1.
(sgml-font-lock-keywords-2): New variable.
(sgml-mode-common): Make buffer-local binding for
sgml-font-lock-keywords-2 and initialize it.
Use it in font-lock-defaults.
1998-04-27 01:22:08 +00:00
Richard M. Stallman
9fc0913c10 (justify-current-line): Use new algorithm to apportion the spaces to be added. 1998-04-23 21:55:15 +00:00
Richard M. Stallman
909f0455e0 (ispell-get-word): No error if can't find a word to check.
(ispell-word): Don't fuss about a word if not adjacent to it.
(ispell-minor-check): Use save-excursion.
1998-04-17 03:37:10 +00:00
Richard M. Stallman
0de86efccd (ispell-word): In ispell-check-only mode,
display a message for misspelled word.
1998-04-17 03:21:24 +00:00
Karl Heuer
f06552d463 (outline-font-lock-level): New function. 1998-04-15 06:28:28 +00:00
Dan Nicolaescu
8d4d1e65d5 *** empty log message *** 1998-04-08 19:38:37 +00:00
Dan Nicolaescu
f35605f3d3 *** empty log message *** 1998-04-08 19:29:35 +00:00
Richard M. Stallman
2974ad46db (tex-start-shell): Call compilation-minor-mode. 1998-03-30 04:23:58 +00:00
Richard M. Stallman
460e1b7d32 (tex-send-command): Return the process.
(tex-start-tex): New function.
(tex-region, tex-file): Use tex-start-tex.
(tex-start-tex-marker): New variable.

(tex-compilation-parse-errors): Completely rewritten.
(tex-print): Reset or restart the subshell before using it.
1998-03-30 04:21:52 +00:00
Karl Heuer
ca722adbaa (texinfo-incorporate-menu-entry-names)
(texinfo-start-menu-description): Call regexp-quote.
1998-03-14 09:08:26 +00:00
Richard M. Stallman
37b884685d (reftex-nearest-match): store-match-data => set-match-data. 1998-03-14 04:55:19 +00:00
Richard M. Stallman
d6f6135ea1 (bibtex-search-reference): store-match-data => set-match-data. 1998-03-14 04:54:19 +00:00
Richard M. Stallman
d09af6a54b (fill-region-as-paragraph, fill-region): Allow t as legit value of JUSTIFY. 1998-03-14 03:05:28 +00:00
Carsten Dominik
1c0dde8448 Added keybinding for `reftex-mouse-view-crossref' to S-mouse-2. 1998-03-10 08:43:44 +00:00
Carsten Dominik
576827ffbe (reftex-nicify-text): make a new " " string each time.
(reftex-what-macro): Make sure, `reftex-section-regexp' is available.
1998-03-09 16:01:20 +00:00
Richard M. Stallman
a0d8840a5a (fill-nobreak-predicate): New variable.
(fill-region-as-paragraph): Obey fill-nobreak-predicate.
1998-03-09 06:37:20 +00:00
Richard M. Stallman
9bd4f69c5d (latex-mode): Set fill-nobreak-predicate.
(slitex-mode): Set fill-nobreak-predicate, tex-face-alist,
and imenu-create-index-function.
(latex-fill-nobreak-predicate): New function.
1998-03-09 06:36:25 +00:00
Carsten Dominik
be456a1d88 1998-03-08 Carsten Dominik <cd@gnu.org>
* (reftex-offer-label-menu, reftex-select-item): removed
match-everywhere interpretation.
1998-03-08 16:29:08 +00:00
Carsten Dominik
6b94c6ad09 1998-03-08 Carsten Dominik <cd@gnu.org>
* (reftex-cursor-selected-face,
reftex-mouse-selected-face, reftex-file-boundary-face,
reftex-label-face, reftex-section-heading-face,
reftex-toc-header-face, reftex-bib-author-face,
reftex-bib-year-face, reftex-bib-title-face,
reftex-bib-extra-face): New options.
(reftex-toc, reftex-make-and-insert-label-list,
reftex-format-bib-entry, reftex-section-info): Use fonts defined
in the new options.
(reftex-do-citation): Kill buffer *RefTeX Select* to avoid
problems with lazy-lock.
1998-03-08 11:40:12 +00:00
Richard M. Stallman
73b3354550 (fill-region): If JUSTIFY is non-nil
and not a known value, treat it as `full'.
(fill-region-as-paragraph): Likewise.
1998-03-08 00:27:23 +00:00
Stephen Eglen
4bef911093 Customized. 1998-03-07 18:19:38 +00:00
Carsten Dominik
5ff44b47b4 1998-03-06 Carsten Dominik <cd@delysid.gnu.org>
* (reftex-select-item): A set-buffer in the unwind-protect form makes
sure we deinstall in the correct hooks.
1998-03-06 09:09:20 +00:00
Karl Heuer
406f45176a Remove debugging statements. 1998-02-27 22:20:12 +00:00
Karl Heuer
29d593f89c (reftex-toc-mode, reftex-select-label-mode):
(reftex-select-bib-mode): New major modes for RefTeX's special
buffers.
(reftex-offer-label-menu): Put selection buffer into
`reftex-select-label-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.
(reftex-do-citation): Put selection buffer into
`reftex-select-bib-mode'.  Make selection buffer read-only.  Use
`reftex-erase-buffer'.  Set `reftex-select-return-marker'.
(reftex-toc): Put *toc* buffer into reftex-toc-mode.  Add
mouse-face property.
(reftex-select-item): Use recursive edit instead of selfmade
command loop.  Removed unnecessary local bindings.  Changed the
tag for catch, to avoid problems with `exit' tag in
recursive-edit.  Moved the code around old command loop to pre-
and post-command-hook.
(reftex-select-pre-command-hook, reftex-select-post-command-hook):
(reftex-select-show-insertion-point): New functions.
(reftex-reference): Set `reftex-select-return-marker'.
(reftex-check-recursive-edit): Error message changed.
(reftex-select-search-minibuffer-map): Obsolete constant removed.
(reftex-select-next, reftex-select-previous, reftex-select-scroll-up):
(reftex-select-scroll-down, reftex-select-next-heading):
(reftex-select-previous-heading): Handle prefix arguments.
(reftex-toc, reftex-make-and-insert-label-list):
(reftex-insert-bib-matches): Add mouse-face property.
(reftex-highlight-selection): New option.
(reftex-select-mouse-accept): New command.
(reftex-select-recursive-edit, reftex-select-search-forward):
(reftex-select-search-backward, reftex-select-search):
(reftex-select-scroll-up, reftex-select-scroll-down):
(reftex-scroll-other-window, reftex-scroll-other-window-down):
(reftex-empty-toc-buffer): Removed obsolete functions.
(reftex-highlight-overlays): Removed obsolete 3rd overlay.
(reftex-select-label-map, reftex-select-bib-map): Removed obsolete
bindings, added mouse bindings, `digit-argument',
`negative-argument', `reftex-select-show-insertion-point'.
(reftex-erase-buffer): BUFFER now defaults to current buffer.
(reftex-label-alist-builtin): Added sidecap packages support.
(reftex-last-follow-point, reftex-select-return-marker): New
variables.
(reftex-toc, reftex-select-item): Set `reftex-last-follow-point'.
(reftex-toc-post-command-hook): Use `reftex-last-follow-point'.
(reftex-get-file-buffer-force): Turn off `enable-local-variables'
when reading a file literally.
1998-02-25 23:05:37 +00:00
Stephen Eglen
5fea23bb9d Doc fix in Commentary section. 1998-02-23 17:51:06 +00:00
Stephen Eglen
d1ebc62e6c Customized. 1998-02-22 17:34:42 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Simon Marshall
b6908641f2 *** empty log message *** 1998-02-20 14:55:48 +00:00
Dave Love
aa7a8f0ee8 (sgml-mode-common): Downcase key for
assoc so upper-case markup works.
(sgml-attributes, sgml-tag-help): Likewise.
1998-02-17 20:08:22 +00:00
Richard M. Stallman
ab2d0cdb53 (bibtex-autokey-names): Change number tag to integer.
(bibtex-include-OPTkey): Add non-nil default :value
for function, so that it can be selected.
(bibtex-entry-format): Replace repeat with set.
(bibtex-mode-hook):  Change :type to 'hook.
(bibtex-clean-entry-hook): Ditto.
(bibtex-add-entry-hook): Ditto.
(bibtex-autokey-before-presentation-hook): Change name to ->
`bibtex-autokey-before-presentation-function' as it is not hook.
(bibtex-autokey-get-namefield): Remove newlines unconditionally.

(bibtex-autokey): Fixed prefix.
(bibtex-user-optional-fields): Better `:type'.
(bibtex-autokey-names): Better `:type' and doc-fix.
(bibtex-mark-active): New function, taking care of Emacs variants.
(bibtex-run-with-idle-timer): Ditto.
(bibtex-mode-map): Change `[(control tab)]' to `[(meta tab)]'.
(bibtex-autokey-get-yearfield): Changed to accept year when year
field has field-delimiters. This is quick fix, there might
be better solution.
(bibtex-mode): Don't call idle timer with 0 seconds.
(bibtex-mode): Call easy-menu-add.

(bibtex-autokey-get-yearfield): Fixed problem with
parsing the year field.

(bibtex-comment-start): Font locking for comments added.

(autokey-name-case-convert, autokey-titleword-case-convert): Replace
autokey-preserve-case, adding flexibility to case conversion of author
names and titlewords.

(bibtex-autokey-get-titles): Non capitalized title words
are used for key generation as well.
(bibtex-member-of-regexp): Case is honoured for matches now.
(bibtex-autokey-titleword-ignore): Added entries provide compatibility
to former behaviour.

(bibtex-autokey-titleword-ignore): Title words found in
this list are always ignored (previously only at the beginning of the
title).  Replaces bibtex-autokey-titleword-first-ignore.
1998-02-16 05:42:08 +00:00
Richard M. Stallman
24c5a085d6 (bibtex-autokey-year-length): Doc fix. 1998-02-08 21:05:11 +00:00
Richard M. Stallman
2faef40996 (reftex-toc): Fixed bug with split-window. Using
split-window instead of split-window-vertically.
(reftex-reset-mode): Removed obsolete buffer from kill list.
(reftex-make-and-insert-label-list, reftex-do-citation): Delete
other windows before displaying selection.
(reftex-cite-format-builtin): Fixed bug in Chicago format.
(reftex-enlarge-to-fit): New function.
(reftex-nicify-text): Cut context-string at \item,\\.  Changed
match sequence for efficiency reasons.
(reftex-parse-from-file): Include files can be ignored with
`reftex-no-include-regexps'.
(reftex-no-include-regexps): New option.
(reftex-do-parse): Initialize appendix flag.
(reftex-parse-from-file): Interprete appendix.
(reftex-section-info): Use changed version of reftex-section-number.
(reftex-where-am-I): Interprete appendix match.
(reftex-init-section-numbers): New arg: appendix.
(reftex-section-number): Treat appendix enumeration.
(reftex-toc-external): Improved message.
(reftex-compute-ref-cite-tables): Regular expression extended for appendix.
(reftex-toc-rescan): Renamed from reftex-toc-redo.
(reftex-toc-Rescan): Renamed from reftex-toc-Redo.
(reftex-toc-revert): New function.
(reftex-select-external-document): Completion on label prefixes.
(reftex-find-file-on-path): Added an extra call to
expand-file-name for the directory.
(reftex-locate-bibliography-files): Added expand-file-name call.
(reftex-guess-label-type): New function.
(reftex-word-before-point): Function removed.
(reftex-reference): Uses reftex-guess-label-type.  Changed meaning
of `~' in reference format.  Magic words are regular expressions.
(reftex-compute-ref-cite-tables): Convert magic words to regexps.
(reftex-select-label-maps): Default bindings for TAB, up, down, RET.
(reftex-select-read-string): Now uses completion.
(reftex-make-and-insert-label-list): Prepare for completion.
(reftex-where-am-I): Fixed bug with input files.
(reftex-save-all-document-buffers): New command.
(reftex-select-next-heading): New function.
(reftex-select-previous-heading): New function.
(reftex-select-read-string): New function.
(reftex-offer-label-menu): Handle string value from reftex-select-item.
(reftex-reference): Fixed bug (missing save-excursion).
(reftex-toc-map): Added binding for ?n and ?p.
(reftex-do-citation): Changed to use reftex-default-bibliography.
(reftex-default-bibliography): New option.
(reftex-find-tex-file): Check for file-name-absolute-p first.
(reftex-format-label-function,reftex-format-ref-function,
reftex-format-cite-function): New hooks
(reftex-info): New function.
(reftex-compute-ref-cite-tables): Removed interactive form.
(reftex-where-am-I): Removed interactive form
(reftex-format-names): Removed interactive form
(reftex-vref-is-default): New customization variable
(reftex-mode-menu): Capitalize citation options
(reftex-last-cnt): Variable removed.
(reftex-last-data,reftex-last-line): New variables.
(reftex-select-toggle-varioref): New function.
(reftex-offer-label-menu): Changed mode-line-format for varioref.
(reftex-select-label-help): Help string updated.
(reftex-do-parse): Fixed bug with empty xr list.
(reftex-view-crossref): Prefix argument interpretation changed.
(reftex-get-offset): New function.
(reftex-label): Remove selection buffer to force update.
(reftex-access-scan-info): Remove selection buffers.
(reftex-select-external-document): Fixed bug with highest index.
(reftex-label-index-list, reftex-found-list): Variables removed.
(reftex-offer-label-menu, reftex-make-and-insert-label-list)
(reftex-select-item, reftex-citation, reftex-select-label-callback)
(reftex-bibtex-selection-callback,reftex-select-callback): Changed
to put the scan data directly into the text property :data,
instead of doing this indirectly with an index-list.
(reftex-make-selection-buffer-name): New function.
(reftex-tie-multifile-symbols): Store master-index-as-property.
(reftex-kill-buffer): New function.
(reftex-erase-buffer): New function.
(reftex-erase-all-selection-buffers): New function.
(reftex-mode-menu): Button "Restore from file" no longer sensitive
to existence of the file.  This had caused problems for LateX
style files.  Quoted `:style' and `:selected' for compatibility.
(reftex-access-parse-file): `Restore' action now throws an
exception when the file is not found.
(reftex-create-customize-menu): New function.
(reftex-label): Fixed bug which made naked labels in \footnotes.
(reftex-select-label-map, reftex-select-bib-map): New keymaps for
the RefTeX Select buffer.
(reftex-select-next, reftex-select-previous, reftex-select-scroll-down)
(reftex-select-scroll-up, reftex-select-quit)
(reftex-select-toggle-follow, reftex-select-callback)
(reftex-select-accept, reftex-select-help)
(reftex-select-recursive-edit, reftex-select-search-forward)
(reftex-select-search-backward, reftex-select-search)
(reftex-select-scroll-other-window)
(reftex-select-scroll-other-window-down):
New commands for use in the two new keymaps.
(reftex-select-item): Now uses the appropriate keymaps.
(reftex-toc-map): New keymap (a keymap for the toc buffer.
(reftex-toc): Now uses reftex-toc-map.
(reftex-fontify-select-label-buffer): New function
(reftex-select-font-lock-fontify-region): New function.
(reftex-make-and-insert-label-list): Refontification now uses
`reftex-select-font-lock-fontify-region'.
(reftex-show-entry): Refontification generalized.
(reftex-select-search-minibuffer-map): New constant.
(reftex-parse-from-file): Look for \begin{thebibliography}
(reftex-do-citation): Check also for thebibliography
(reftex-bibtex-selection-callback): Handle bibitem.
(reftex-view-crossref): Handle bibitem.
(reftex-extract-bib-entries-from-thebibliography): New function.
(reftex-format-bibitem): New function.
(reftex-parse-bibitem): New function.
(reftex-make-desparate-section-regexp): Changed name to
reftex-make-desperate-section-regexp.
(reftex-do-parse, reftex-locate-bibliography-files)
(reftex-string-to-label, reftex-select-external-document)
(reftex-find-duplicate-labels, reftex-format-bib-entry)
(reftex-do-citation, reftex-insert-bib-matches)
(reftex-select-search-minibuffer-map, reftex-access-search-path)
(reftex-compute-ref-cite-tables, reftex-recursive-directory-list):
All lambda expressions now quoted with `function'.
(reftex-view-crossref,reftex-mouse-view-crossref): Fixed bug with
multiple calls.
(reftex-get-buffer-visiting): Error message changed.
(reftex-select-external-document, reftex-query-label-type)
(reftex-do-citation, reftex-select-help):
Use `reftex-enlarge-to-fit' now.
(reftex-pop-to-bibtex-entry): No longer beep on failure, to make
it work better with follow mode.
1998-02-03 06:26:34 +00:00
Richard M. Stallman
4ab577cd01 (fill-region-as-paragraph): Fix the test for any
non-ASCII characters, for deciding whether to do kinsoku.
1998-02-03 02:37:55 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Karl Heuer
03dbb1e75a (bibtex-generate-autokey): Doc fix. 1997-12-09 22:43:32 +00:00
Karl Heuer
1122ecea84 (outline-next-preface):
Don't try to move back if already at beginning of buffer.
1997-12-07 21:49:09 +00:00