1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

642 Commits

Author SHA1 Message Date
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
Karl Heuer
ec79b93a14 (sgml-mode): Set imenu-generic-expression. 1997-12-04 04:20:34 +00:00
Gerd Moellmann
bc7d6816ee New function ispell-comments-and-strings. 1997-12-03 17:20:13 +00:00
Richard M. Stallman
2231645f5e (bibtex-maintainer-address, bibtex-submit-bug-report):
New maintainer (Dirk Herrmann <D.Herrmann@tu-bs.de>).
1997-11-26 16:12:25 +00:00
Karl Heuer
183e4bd6f1 (fill-individual-paragraphs): Don't get
confused in paragraph loop if we start on the last line
and it has no final newline.
1997-11-15 20:58:28 +00:00
Kenichi Handa
b847b1de5b (fill-region-as-paragraph): Fix bug of
handling the case that English letters are followed by such
characters as Japanese and Chinese.
1997-11-08 03:08:40 +00:00
Karl Heuer
2ed2806cd9 (tex-validate-region): Really check
for mismatched parens.
1997-10-31 23:03:30 +00:00
Karl Heuer
baec12503b The menu now used toggle and radio for some items.
(reftex-default-context-regexps): `caption' now prefers the
optional short caption.
(reftex-offer-label-menu): Fixed bug which could kill master
buffer of external document.
(reftex-select-item,reftex-get-buffer-visiting): Compatibility
code works now the other way round.
(reftex-select-external-document): Now gives a message when no
external documents are available.
(reftex-find-duplicate-labels): Single key strokes to exit or to
do a query replace.  Made more user friendly in general.
(reftex-section-levels,reftex-default-context-regexps): Move
definition of these variables to configuration section.
1997-10-24 19:53:43 +00:00
Karl Heuer
ef5c41bd83 (outline-font-lock-keywords): Highlight the
whole line, not just the part that matches the regexp.
1997-10-24 19:37:53 +00:00
Karl Heuer
396e0b08c6 Using cl macros push, pop, when, unless throughout
the file. This is not further mentioned in this ChangeLog entry.
Documentation largely updated.  Parser rewritten for better
Multifile Document processing.  Macros with naked label arguments
supported.  Some Mule related changes.
(reftex-default-label-alist-entries): Customization type is now
computed from reftex-label-alist-builtin. Enumerate has new
typekey `i'.  `n' is now reserved for footnotes etc.
(reftex-label-alist): Introduced default regular expressions.
Customization type is now computed from
reftex-label-alist-builtin.
(reftex-label-menu-flags): New flag for showing file borders.
(reftex-refontify-context): New option.
(reftex-bibfile-ignore-list): Now a user option (was: variable).
(reftex-cite-format): Now a user option (was: variable).
Customization type is now computed from
reftex-cite-format-builtin.
(reftex-comment-citations): Now a user option (was: variable).
(reftex-toc-follow-mode): Now a user option (was: variable).
(reftex-optimizations-for-large-documents): New custom group.
(reftex-keep-temporary-buffers): 1 as additional value.
(reftex-initialize-temporary-buffers): New option.
(reftex-enable-partial-scans): New option.
(reftex-save-parse-info): New option.
(reftex-plug-into-AUCTeX): Now a user option (was: variable).
(reftex-auto-show-entry): New value 'copy allowed.
(reftex-load-hook): Now a declared variable.
(reftex-mode-hook): Now a declared variable.
(reftex-label-numbers-symbol): Variable removed.
(reftex-list-of-labels-symbol): Variable removed.
(reftex-label-numbers-symbol): Variable removed.
(reftex-bibfile-list-symbol): Variable removed.
(reftex-docstruct-symbol): New variable (buffer-local).
(reftex-master-include-list): Variable removed.
(reftex-make-master-buffer): Function removed.
(reftex-make-master-buffer-hook): Hook removed.
(reftex-insert-buffer-or-file): Function removed.
(reftex-parse-document): Function adapted to new parser.
(reftex-access-scan-info): Changed to fit new parser.  Now detects
changes in label-alist related variables automatically.
(reftex-parse-one,reftex-parse-all): New functions.
(reftex-all-document-files): New function.
(reftex-grep-document,reftex-search-document,
reftex-query-replace-document): Now use
`reftex-all-document-files'.
(reftex-section-or-include-regexp): New variable.
(reftex-everything-regexp): New variable.
(reftex-find-label-regexp-format): New variable.
(reftex-find-label-regexp-format2): New variable.
(reftex-do-parse): New function.
(reftex-is-multi): New function.
(reftex-parse-from-file): New function.
(reftex-locate-bibliography-files): New function.
(reftex-last-assoc-before-elt): New function.
(reftex-replace-label-list-segment): New function.
(reftex-silence-toc-markers): New function.
(reftex-access-parse-file): New function.
(reftex-label): Now uses `reftex-where-am-I'.
(reftex-offer-label-menu): New keys `%' and `i' and `r'.
(reftex-select-item): Recursive edit moved to key `e'.  New key
`x' for external documents.  Works now also with nin-nil
pop-frame.
(reftex-offer-label-menu): Now uses `reftex-where-am-I'.
(reftex-make-and-insert-label-menu): More efficient, allow
optional extra fontification.
(reftex-find-nearby-label): Function removed.
(reftex-scan-buffer-for-labels): Function removed.
(reftex-section-info): New function.
(reftex-nth-parens-substring): Renamed to reftex-nth-arg.  Return
nil when not enough args are present.
(reftex-move-over-touching-args): New function.
(reftex-where-am-I): New function.
(reftex-nth-arg-wrapper): New function.
(reftex-select-label-callback): Deal with special macros as well.
(reftex-find-duplicate-labels): Ignore special entries in
docstruct.
(reftex-kill-temporary-buffers): New arg buffer.
(reftex-show-entry): Copy context when necessary.
(reftex-toc): New key `R', use reftex-where-am-I.
(reftex-nearest-section): Use reftex-where-am-I.
(reftex-toc-visit-line): Completely rewritten.  Uses markers and
several backup methods.
(reftex-citation): Recursive edit moved to `e' key.
(reftex-scan-buffer): Function removed.
(reftex-get-bibfile-list): Changed to work with chapterbib
package.
(reftex-find-tex-file): New function.
(reftex-find-files-on-path): Now first looks for file with
additional .tex extension, then for the naked file name.
(reftex-citation): Split into reftex-citation and
reftex-do-citation.
(reftex-do-citation): Recursive edit now on `e' key.
(reftex-what-macro): Allow white space between macro arguments.
(reftex-allow-for-ctrl-m): Renamed to
`reftex-make-regexp-allow-for-ctrl-m'.
(reftex-nearest-match): New function.
(reftex-auto-mode-alist): New function.
(reftex-make-desparate-section-regexp): New funtion.
(reftex-get-file-buffer-force): Rewritten to use new variable
`reftex-initialize-temporary-buffers'.
(reftex-label-alist-builtin): Use abbreviated regexps.
(reftex-label-mac-list): New variable.
(reftex-parse-args): New function.
(easy-menu-define): Menu extended. Some parts are now computed.
from the user options.
(reftex-move-to-next-arg,reftex-move-to-previous-arg) New
functions.  Now we can parse macros with distributed arguments.
(reftex-goto-label): Function removed.
(reftex-position-cursor): Function removed.
(reftex-item): Function removed.
(reftex-add-to-label-alist): No longer autoloaded.
(reftex-toc-indent): Constant removed.
(reftex-label-indent): Constant removed.
(reftex-context-indent): Constant removed.
(reftex-match-string): New function.
(reftex-memory): New variable
(reftex-reset-mode): No longer hacks local variables.  Now resets
path variables as well.
(reftex-truncate): New functions, to make RefTeX work with Mule.
(reftex-fp): New macro, to make RefTeX work with Mule.
(reftex-format-bib-entry): Now uses `reftex-truncate' to truncate
author names.  `extra' and `title' are no longer truncated at all.
(reftex-all-assq): New function.
(reftex-view-crossref): Works now also if mouse click is on macro.
(reftex-context-substring): Now returns substring without text
properties.
(reftex-tex-path,reftex-bib-path): New variables.
(reftex-split): Function replaced with builtin `split-string'.
(reftex-find-bib-file): New function.
(reftex-find-files-on-path): Function removed.
(reftex-find-file-on-path): New function.
(reftex-access-search-path,reftex-parse-colon-path,
reftex-recursive-directory-list,reftex-expand-path): New
functions, dealing with recursive TEXINPUTS and BIBINPUTS
definitions.
1997-10-21 03:15:20 +00:00
Karl Heuer
10d31baea6 (ispell-change-dictionary): Fix error message.
(ispell-buffer-local-parsing): Fix message.
(ispell-get-word): Use buffer-substring-no-properties.
(ispell-buffer-local-dict): Likewise.
1997-10-19 19:54:35 +00:00
Karl Heuer
e8955f1d90 (nroff): Moved from editing' to wp'. 1997-10-16 18:44:52 +00:00
Karl Heuer
1577a8fd29 (narrow-to-page): Check whether forward-page
actually set the match data.
1997-10-16 18:09:31 +00:00
Karl Heuer
dafc511c1d (outline-back-to-heading): New arg INVISIBLE-OK.
(outline-on-heading-p):
(show-entry): If the heading is invisible, show it too.
(hide-other):
1997-10-15 23:48:01 +00:00
Richard M. Stallman
167bed8638 (outline-up-heading): Avoid infinite loop at beginning of buffer. 1997-09-20 00:32:30 +00:00
Richard M. Stallman
f37bbf0885 (canonically-space-region): Doc fix.
(fill-context-prefix): If the second line has the first line prefix,
plus whitespace, use the part that the first line shares.
(fill-individual-paragraphs): When prefix changes,
usually get the new prefix from just one line,
with an exception for indented first lines of paragraphs.
Start a new paragraph when a line has extra indentation
after the fill prefix.
1997-09-14 20:27:34 +00:00
Richard M. Stallman
6c80b133aa (ispell-personal-dictionary): Fix customize type. 1997-09-09 02:56:16 +00:00
Richard M. Stallman
4574ee6c8d (fill-individual-paragraphs): Don't include
paragraph-separate lines in any paragraph; just skip them.
1997-09-08 06:47:05 +00:00
Richard M. Stallman
8896f22d60 (ispell-command-loop):
Restore dedicated flg of selected window.
(ispell-overlay-window): Move dedicated flag of old window
into the bottom of the two windows made from it.
1997-09-07 03:40:29 +00:00
Richard M. Stallman
14fc129a86 (ispell-overlay-window): Undo previous change;
in other words, don't bind inhibit-frame-unsplittable.
1997-09-03 07:44:21 +00:00
Richard M. Stallman
1907b8e60e Comment change. 1997-09-02 00:16:45 +00:00
Richard M. Stallman
206c6f82f4 (reftex-customize): Added call to customize browse.
(reftex-show-commentary): New function.
(reftex-label-alist): Prefix may contain % escapes.  Nth macro
argument may be context. May give two different context methods.
(reftex-default-label-alist-entries): Customization type changed.
(reftex-label-menu-flags): Extra flag for searches.
(reftex-cite-format): Changed completely, % escapes are now used.
(reftex-comment-citations): New variable.
(reftex-cite-comment-format): New variable.
(reftex-cite-punctuation): New variable.
(reftex-make-master-buffer): Changed name of master buffer,
removed interactive.  Runs a hook on the buffer. Interprete
TEXINPUTS environment variable.  Allow naked argument for \input.
Master buffer is now in fundamental mode.
(reftex-access-scan-info): Name of master buffer changed.
(reftex-section-regexp): Is now computed from section levels,
not set	independantly.
(reftex-section-levels): Made customizable.
(reftex-label): Interpret % escapes in prefix.  Use label format if given.
(reftex-replace-prefix-escapes): New function.
(reftex-uniquify-label): New function.
(reftex-next-label-number): Function definition removed.
(reftex-reference): Use reftex-uniquify-label.
Allow more general label commands.
(reftex-offer-label-menu):
Interpret new flag in reftex-label-menu-flags.
(reftex-make-and-insert-label-list): Use text properties to record label index.
(reftex-find-nearby-label): Allow more general label commands.
(reftex-scan-buffer-for-labels): Allow more general label commands.
(reftex-init-section-numbers): New function.
(reftex-allow-for-ctrl-m): New function.
(reftex-label-info-update): Allow more general label commands.
(reftex-label-info): New parameter derive.
(reftex-short-context): Interprete integer parse as nth arg of macro.
(reftex-nth-parens-substring): New function.
(reftex-select-item): Interprete the new 'cnt text property.
(reftex-pop-to-label): Allow more general label commands.
(reftex-nicify-text): Allow more general label commands.
(reftex-toc): Remember previous window configuration.  Use text
properties to store info.  Bind mouse-2.
(reftex-make-master-buffer): New Hook.
(reftex-last-window-height): New variable.
(reftex-toc-show-help): New function.
(reftex-toc-help): New constant.
(reftex-nearest-section): Use text properties to store info.
(reftex-empty-toc-buffer): New function.
(reftex-re-enlarge): New function.
(reftex-toc-goto-line): New function.
(reftex-toc-mouse-goto-line-and-hide): New function.
(reftex-cite-format-builtin): New constant.
(reftex-cite-format-default): Constant removed.
(reftex-cite-format-1-author-simple): Constant removed.
(reftex-cite-format-2-authors): Constant removed.
(reftex-get-bib-names): New function.
(reftex-get-bib-authors) Function removed.
(reftex-format-bib-entry): Use now reftex-get-bib-names.
(reftex-citation): Completely rewritten. Offers selection of
different cite macros first, then the reference menu.  Works with
the various new variables mentioned above.  Accept the `a' key to
use all selected citations.
(reftex-insert-bib-matches): New function.
(reftex-format-citation): Now interpretes % escapes.
(reftex-select-item): Emulate a search in the menu buffer.
Interpret the 'cnt text property.
(reftex-view-crossref): Allow more general label, cite and ref macros.
(reftex-highlight-overlays): Add third overlay for search
in menu buffer.
(reftex-label-alist-builtin): xalignat and xxalignat environments
added.  Slightly reorganized.
(reftex-reset-scanning-information): Just empty *toc* buffer, do
not kill it.
(reftex-compute-ref-cite-tables): Read the new options in
`reftex-label-alist' and store them.  Calculate the section regexp.
1997-09-01 18:11:35 +00:00
Kenichi Handa
ef128a918e (ispell-region): Take acount of the fact that `ispell'
will return OFFSET by counting non-ASCII characters as one.
(ispell-dictionary-alist-1): Add coding systems to each entry.
(ispell-dictionary-alist-2): Likewise.
(ispell-get-coding-system): New function.
(ispell-decode-string): New function.
(ispell-get-casechars): Decode the string if necessary.
(ispell-get-not-casechars, ispell-get-otherchars): Likewise.
1997-09-01 07:17:07 +00:00
Richard M. Stallman
5d05a34bae Comment change. 1997-08-31 17:18:41 +00:00
Richard M. Stallman
80216a47a4 (defgroup, defcustom): Add Emacs 19 compatibility definitions. 1997-08-30 19:48:14 +00:00
Richard M. Stallman
d910f08cc1 (text-mode-hook-identify): New function,
put on text-mode-hook.  Set text-mode-variant here.
(text-mode): Don't set it here.
1997-08-29 17:07:26 +00:00
Richard M. Stallman
4c69a3beaf (text-mode-variant): New variable.
(text-mode): Set that variable locally.
(toggle-text-mode-auto-fill): New command.
1997-08-28 02:53:44 +00:00
Richard M. Stallman
047d1f89b1 (text-mode-hook): New defvar. 1997-08-28 02:37:58 +00:00
Richard M. Stallman
bde0f7ca6e (use-hard-newlines): Un-customized. 1997-08-25 17:06:01 +00:00
Richard M. Stallman
5ed1493302 (texinfo-mode): Turn off adaptive-fill-mode. 1997-08-24 03:15:05 +00:00
Richard M. Stallman
6c455d5c0e (sgml-mode-common): Set paragraph-start like paragraph-separate.
Do match a line which is just a <...> construct after whitespac.e
Set adaptive-fill-regexp to match whitespace only.
1997-08-23 06:12:46 +00:00
Richard M. Stallman
e45502331b Customized. 1997-08-22 21:59:21 +00:00
Richard M. Stallman
d0388eace9 Many doc fixes. 1997-08-22 02:23:24 +00:00
Richard M. Stallman
f754fb7b94 Customized. 1997-08-22 02:05:30 +00:00
Richard M. Stallman
b4d413d983 (fill-individual-paragraphs): Fix handling
of adaptive-fill.  Call fill-context-prefix, but bind
adaptive-fill-first-line-regexp to a null string.
1997-08-18 20:08:38 +00:00
Richard M. Stallman
66d6ec94bb (fill-region-as-paragraph):
When justifying, cope if line ends in spaces and no newline.
1997-08-12 15:52:17 +00:00
Richard M. Stallman
4dc0f0fc0e (enable-kinsoku): Doc fix. 1997-08-09 03:41:42 +00:00
Richard M. Stallman
82d5a63762 (fill-context-prefix): Accept a whitespace
prefix from the second line, regardless of the first line.
1997-08-07 20:51:57 +00:00
Richard M. Stallman
fbbd6e46c0 (ispell-dictionary-alist): Doc fix. 1997-08-06 04:29:14 +00:00
Richard M. Stallman
d1f9f44105 Delete whitespace. 1997-08-04 01:11:01 +00:00
Richard M. Stallman
21942e0198 (adaptive-fill-first-line-regexp): Fix regexp. 1997-08-01 19:20:29 +00:00
Richard M. Stallman
c61005b96d (fill-context-prefix): Be stricter about
whether first-line prefix is compatible with second-line prefix.
1997-07-27 19:56:21 +00:00
Richard M. Stallman
2be5fefb86 (tex-categorize-whitespace): Use eq, not eql. 1997-07-24 04:21:34 +00:00
Richard M. Stallman
caf4bf368f (dircategory): Delete obsolete mistaken `put'.
(texinfo-end-direntry): Output extra newline.
(texinfo-format-dircategory): Parse the arg and reinsert it by hand.
1997-07-22 20:06:24 +00:00
Richard M. Stallman
149f002ee2 (texinfo-no-refill-regexp): Add "direntry".
(texinfo-format-direntry, texinfo-end-direntry): New functions.
(texinfo-format-dircategory): New function.
1997-07-20 17:41:31 +00:00
Richard M. Stallman
155b48df5e (texinfo-all-menus-update)
(texinfo-master-menu, texinfo-multiple-files-update):
Search for texinfo-master-menu-header as a string, not a regexp.
(texinfo-master-menu-header): Move defvar earlier.
1997-07-18 02:57:14 +00:00
Richard M. Stallman
d097058598 (texinfo-format-buffer-1): Insert, here,
the info about what file this is and what it was made from,
just before returning.
(texinfo-format-setfilename): Generate no output.
1997-07-16 05:29:01 +00:00
Richard M. Stallman
368d104a8a Doc fixes. 1997-07-07 18:27:33 +00:00