1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-08 20:58:58 +00:00

846 Commits

Author SHA1 Message Date
Carsten Dominik
7c4d13cca6 * reftex.el (reftex-compile-variables): respect new structure of
`reftex-index-macro'
(reftex-compile-variables): Use the changed structure of
`reftex-label-alist'.

* reftex-vars.el (reftex-index-math-format,
(reftex-toc-max-level): New option.
reftex-index-phrases-search-whole-words,
reftex-index-phrases-case-fold-search,
reftex-index-phrases-skip-indexed-matches,
reftex-index-phrases-wrap-long-lines,
reftex-index-phrases-sort-prefers-entry,
reftex-index-phrases-sort-in-blocks): New options.
(reftex-index-macros): Option structure changed.
(reftex-index-macros-builtin): Added `repeat' item to each entry.
(reftex-label-alist): Additional item in each entry to specify if
the environment should be listed in the TOC.
(eval-when-compile (require 'cl)) added.

* reftex-index.el (reftex-index-selection-or-word): No longer
deals with "repeat".
(reftex-index): "repeat property in `reftex-index-macro-alist' is
now used.
(reftex-index-phrases-comment-regexp,
reftex-index-phrases-macrodef-regexp,
reftex-index-phrases-phrase-regexp1,
reftex-index-phrases-phrase-regexp2,
reftex-index-phrases-phrase-regexp12, reftex-index-phrases-help):
New constants.
(reftex-index-phrases-macro-data, reftex-index-phrases-files,
reftex-index-phrases-font-lock-keywords,
reftex-index-phrases-font-lock-defaults, reftex-index-phrases-map,
reftex-index-phrases-restrict-file): New variables.
(reftex-index-phrase-selection-or-word,
reftex-index-visit-phrases-buffer,
reftex-index-initialize-phrases-buffer,
reftex-index-phrases-save-and-return, reftex-index-phrases-mode,
reftex-index-next-phrase, reftex-index-this-phrase,
reftex-index-all-phrases, reftex-index-region-phrases,
reftex-index-phrases-parse-header,
reftex-index-phrases-toggle-restricted, reftex-index-new-phrase,
reftex-index-find-next-conflict-phrase, reftex-index-phrases-info,
reftex-index-phrases-set-macro-key, reftex-index-sort-phrases,
reftex-compare-phrase-lines, reftex-index-make-phrase-regexp,
reftex-index-simplify-phrase, reftex-index-phrases-find-dup-re,
reftex-index-make-replace-string,
reftex-query-index-phrase-globally, reftex-query-index-phrase,
reftex-index-phrase-match-is-indexed,
reftex-index-phrases-fixup-line,
reftex-index-phrases-replace-space,
reftex-index-select-phrases-macro): New functions.
(reftex-index-globalize, reftex-index-globally): functions removed
(eval-when-compile (require 'cl)) added.

* reftex-toc.el (reftex-toc-mode): Create new indicator for max
level.
(reftex-toc-max-level-indicator): New variable.
(reftex-toc-max-level): New command.
(reftex-toc-map): New keybinding `t'.
(reftex-toc-help): Constant updated.
(eval-when-compile (require 'cl)) added.

* reftex-ref.el (reftex-offer-label-menu): Prefix to `t' command key
can change `reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.

* reftex-sel (reftex-insert-docstruct): Respect
`reftex-toc-max-level'
(eval-when-compile (require 'cl)) added.

* reftex-auc.el (eval-when-compile (require 'cl)) added.

* reftex-vcr.el (eval-when-compile (require 'cl)) added.

* reftex-cite.el (reftex-citep, reftex-citet): New commands.
(reftex-citation, reftex-do-citation,
reftex-figure-out-cite-format): Additional argument FORMAT-KEY to
preselect a citation format.
(eval-when-compile (require 'cl)) added.

* reftex-parse.el (reftex-context-substring): Optional parameter
to-end
(reftex-section-info): Deal with environment matches.
(eval-when-compile (require 'cl)) added.

* reftex-global.el (eval-when-compile (require 'cl)) added.
1999-12-15 17:02:38 +00:00
Kenichi Handa
34a500b327 (fill-find-break-point): Delete codes for
composite characters.
(fill-region-as-paragraph): Likewise.
1999-12-15 00:52:08 +00:00
Gerd Moellmann
28f2ee6659 (bibtex-hs-forward-sexp): Added to support
using the hideshow package.
(hs-special-modes-alist): Added entry for bibtex to allow the use
of the hideshow package.
(bibtex-hide-entry-bodies): Deleted as hiding of entry bodies is
not longer provided by bibtex.el directly.  Instead the hideshow
package should be used.
(bibtex-mode-map, bibtex-edit-menu, bibtex-mode): Delete
references to bibtex-hide-entry-bodies.

Copyright notice is up to date.  Moved
maintainer information closer to the beginning of the bibtex.el
file.
(bibtex-maintainer-salutation): New constant.
bibtex-version): New constant.
bibtex-submit-bug-report): Use bibtex-version and
bibtex-maintainer-salutation.
(bibtex-entry-field-alist): Made booktitle field optional for
@inproceedings entries when crossreferenced.
(bibtex-entry-field-alist): Added booktitle field to proceedings
entry type (for cross referencing). Thanks to Wagner Toledo Correa
for the suggestion.
(bibtex-string-file-path): Fixed typo.
(bibtex-mode-map): Reserved the key `C-c &'
for reftex.el.
(bibtex-edit-menu): Added `reftex-view-crossref-from-bibtex'
to menu.
1999-12-05 13:24:44 +00:00
Dave Love
e144fd4e47 (text-mode-hook): Customize. 1999-11-25 19:00:17 +00:00
Gerd Moellmann
855b9e3374 (text-mode): Contruct paragraph-start so
that the leading `^' is at the start.  This is necessary because
paragraphs.el tries to remove anchors, but can find them only if
they are the first character.
1999-11-22 16:14:41 +00:00
Gerd Moellmann
a5d0cecce3 (ispell-dictionary-alist): Fix type by adding koi8-r
as in ispell-local-dictionary-alist.
1999-11-13 23:40:57 +00:00
Gerd Moellmann
a3f8903ea9 (scribe-mode): Doc-fix. 1999-11-13 21:57:55 +00:00
Gerd Moellmann
9920303f6d (tex-default-mode): Changed to latex-mode. 1999-11-01 12:34:43 +00:00
Gerd Moellmann
e79ad8a15d * textmodes/sgml-mode.el (sgml-char-names): Change "half" to
"frac12".
1999-10-30 21:06:34 +00:00
Gerd Moellmann
d5c3f902bd *** empty log message *** 1999-10-26 09:48:09 +00:00
Dave Love
238b647ae3 (picture-killed-rectangle): Use defvar, not defconst. 1999-10-18 21:20:22 +00:00
Gerd Moellmann
17cca868c5 (forward-sentence, forward-paragraph):
When constraining the final position to the current field,
don't use the ONLY-IN-LINE mode of constrain-to-field.
(forward-sentence): Likewise.
(forward-paragraph, forward-sentence): Likewise.
(backward-kill-paragraph, backward-kill-sentence): Remove code to
constrain the kill to an field, as the movement commands now
do this.
(backward-kill-sentence):
Remove minibuffer-prompt hack.
Constrain to any input field.
1999-10-17 12:51:19 +00:00
Stefan Monnier
767d12f23e Use make-temp-file. 1999-10-15 16:03:59 +00:00
Phillip Rulon
ab418c6df0 (ispell-dictionary-alist-6): Don't use "-C" option for Russian. 1999-10-08 23:54:57 +00:00
Carsten Dominik
8b12dca914 version number change 1999-09-24 10:05:01 +00:00
Carsten Dominik
24d66fcce9 (reftex-view-cr-cite): Deal with multiple thebibliography environments. 1999-09-24 10:04:08 +00:00
Carsten Dominik
531377fdf2 (reftex-section-levels): Function allowed as cdr.
(reftex-max-section-depth) New option.
1999-09-24 10:03:11 +00:00
Carsten Dominik
28b707f9bc (reftex-parse-from-file): Scan for multiple thebibliography
environments.
1999-09-24 10:00:17 +00:00
Carsten Dominik
48ffe14fdd Version number change 1999-09-24 09:55:00 +00:00
Carsten Dominik
09308e6363 (reftex-pop-to-bibtex-entry): Fixed bug with recentering window.
(reftex-extract-bib-entries-from-thebibliography,
reftex-offer-bib-menu,reftex-bibtex-selection-callback):  Deal
with multiple thebibliography environments.
1999-09-24 09:54:22 +00:00
Eli Zaretskii
0cf452f333 (texinfo-font-lock-keywords): Add uref, command, option, env and sc. 1999-09-14 10:15:51 +00:00
Richard M. Stallman
ea9ae18a55 (fill-region-as-paragraph, canonically-space-region):
Respect colon-double-space at end of line.
1999-09-08 07:50:19 +00:00
Richard M. Stallman
779e6e56f2 (backward-kill-sentence): Don't test minibuffer-prompt-end here.
(forward-sentence): Do handle it here.
(backward-kill-paragraph): Don't test it here.
(forward-paragraph): Handle it here.
1999-09-05 23:44:56 +00:00
Richard M. Stallman
ab3b61015a (bibtex-mode): Use with-temp-buffer rather than make-temp-name, use
match-string-no-properties, and eliminate a quadratic behavior when
building bibtex-strings.
1999-08-29 21:20:20 +00:00
Richard M. Stallman
ee13a145ea (tex-compilation-parse-errors):
Use a marker instead of an integer for `compilation-parsing-end'.
1999-08-28 18:22:20 +00:00
Gerd Moellmann
3574d3781d (backward-kill-paragraph): Don't move
point into mini-buffer prompt.
(backward-kill-sentence): Ditto.
1999-08-21 19:31:34 +00:00
Dave Love
55df774a8a Declare dynamic vars. 1999-08-19 15:23:23 +00:00
Carsten Dominik
1a9461d069 Initial revision 1999-08-16 07:42:41 +00:00
Carsten Dominik
1c25ed90c0 (reftex-pop-to-bibtex-entry): Fixed
conflict with pop-up-frames.
(reftex-special-environment-parsers): New constant.
(reftex-label-alist): car of an entry can also be a function.
(reftex-what-special-env): new function.
(reftex-label-location): Call `reftex-what-special-env'.
(reftex-compile-variables): Check for symbol in
`reftex-label-alist'.
(reftex-what-environment): fixed bug with stacked environments of
same kind (e.g. enumerate).
(reftex-process-string): Preserve default directory.
(reftex-label-alist-builtin): changed prefixes of endnote and
footnote.  Also the magic words.
(reftex-reference): Interprete new option
`reftex-fref-is-default'.
(reftex-replace-prefix-escapes): Interprete new `%S' format.
(reftex-toc-mouse-view-line): Command removed (had no binding).
(reftex-everything-regexp): New function.
(reftex-nearest-match): Made better.
(reftex-toc-find-section): Use new version of
`reftex-nearest-match'.
(reftex-insert-docstruct): adapted to work with the index stuff.
(reftex-parse-from-file): Find index entries as well.
(reftex-toc-toggle-index): New function
(reftex-toc-map): `i' is now used to togle the index, File
boundaries has been moved to `F'.
(reftex-select-label-map): Toggling display of file boundaries is
now on the `F' key, for consistency with `reftex-toc-map'.
(reftex-erase-all-selection-and-index-buffers): Renamed from
`reftex-erase-all-selection-buffer'.  Now also kills the index
buffers.
(reftex-viewing-cross-references): Customization group renamed
from reftex-viewing-cross-references-and-citations.
(reftex-index-macro-regexp,
reftex-find-index-entry-regexp-format): New variables
(reftex-macros-with-index): New variable
(reftex-add-index-macros): New function
(reftex-renumber-simple-labels, reftex-translate): Allow for
multiple labels in a single ref command.
(reftex-index-support): New customization group
(reftex-support-index, reftex-index-special-chars,
reftex-index-macros, reftex-index-default-macro,
reftex-index-default-tag, reftex-index-math-format,
reftex-index-section-letters, reftex-index-include-context,
reftex-index-follow-mode, reftex-index-header-face,
reftex-index-section-face, reftex-index-tag-face,
reftex-index-face): New options
(reftex-index-map, reftex-index-menu, reftex-last-index-file,
reftex-index-tag, reftex-index-return-marker,
reftex-index-restriction-indicator, reftex-index-restriction-data,
reftex-index-macro-regexp, reftex-index-level-re,
reftex-index-key-end-re, reftex-find-index-entry-regexp-format,
reftex-everything-regexp-no-index, reftex-index-re,
reftex-macros-with-index, reftex-index-macro-alist): New variables
(reftex-index-help, reftex-index-macros-builtin,
reftex-key-to-index-macro-alist, reftex-query-index-macro-prompt,
reftex-query-index-macro-help): New constants
(reftex-index-selection-or-word, reftex-index,
reftex-default-index, reftex-update-default-index,
reftex-index-complete-tag, reftex-index-select-tag,
reftex-index-complete-key, reftex-index-update-taglist,
reftex-index-globally, reftex-index-mode, reftex-index-show-entry,
reftex-display-index, reftex-insert-index,
reftex-index-insert-new-letter, reftex-get-restriction,
reftex-index-pre-command-hook, reftex-index-post-command-hook,
reftex-index-show-help, reftex-index-next, reftex-index-previous,
reftex-index-toggle-follow, reftex-index-toggle-context,
reftex-index-view-entry, reftex-index-goto-entry-and-hide,
reftex-index-goto-entry, reftex-index-mouse-goto-line-and-hide,
reftex-index-quit, reftex-index-quit-and-kill,
reftex-index-goto-toc, reftex-index-rescan, reftex-index-Rescan,
reftex-index-revert, reftex-index-switch-index-tag,
reftex-index-restrict-to-section, reftex-index-widen,
reftex-index-restriction-forward,
reftex-index-restriction-backward, reftex-index-visit-location,
reftex-index-analyze-entry, reftex-index-globalize,
reftex-index-edit, reftex-index-toggle-range-beginning,
reftex-index-toggle-range-end, reftex-index-edit-key,
reftex-index-edit-attribute, reftex-index-edit-visual,
reftex-index-edit-part, reftex-index-level-down,
reftex-index-level-up, reftex-index-kill, reftex-index-undo,
reftex-index-change-entry, reftex-index-goto-letter,
reftex-add-index-macros, reftex-ensure-index-support,
reftex-index-info-safe, reftex-index-info): New functions.

Most of the code moved to other files.
1999-08-16 07:38:41 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Karl Heuer
7220ca11af Handle @ifnottex. 1999-08-16 03:17:09 +00:00
Richard M. Stallman
fd702fdb11 (outline-previous-heading): New function.
(outline-up-heading-all): Use outline-previous-heading.
(outline-next-heading): Delete definition inserted yesterday.
1999-08-05 14:50:30 +00:00
Dave Love
d4c89075d6 Require outline when compiling.
(sgml-mode-hook, html-mode-hook): Customize.
(sgml-validate-command): Fix :version.
(html-autoview-mode): Doc fix.
1999-08-04 19:18:55 +00:00
Richard M. Stallman
39db9c5c69 (outline-next-heading): New function.
(outline-up-heading-all): New function.
(outline-font-lock-level): Using outline-up-heading-all.
Tell outline-back-to-heading to accept invisible headings.
1999-08-01 16:26:59 +00:00
Karl Heuer
cc7e972037 (fill-individual-paragraphs): Calculate new
fill prefix on each line while looping to the end of paragraph.
End paragraph if it's longer than the existing fill prefix.
1999-07-30 14:34:28 +00:00
Karl Heuer
39f5988df8 (fill-context-prefix): Doc fix. 1999-07-30 14:31:57 +00:00
Dave Love
5f6a0375b3 (picture-beginning-of-line): Don't call
hscroll-point-visible now we have real autoscrolling.
(picture-end-of-line, picture-newline, picture-open-line):
Likewise.
1999-07-29 21:56:02 +00:00
Karl Heuer
e7029763ca (fill-region-as-paragraph): Fix previous change. 1999-07-27 20:06:20 +00:00
Kenichi Handa
9d289ed7c7 (fill-region-as-paragraph): Fix previous change. 1999-07-26 00:29:37 +00:00
Kenichi Handa
7141e1e0ff (fill-region-as-paragraph): Fix previous change. 1999-07-26 00:14:37 +00:00
Dave Love
5121371d70 (sgml-validate-command): Use nsgmls. 1999-07-23 23:05:21 +00:00
Kenichi Handa
ca29a33e6a (fill-region-as-paragraph): Avoid backing up
before left margin and fill-prefix by fill-find-break-point.
1999-07-23 07:27:21 +00:00
Dave Love
369aeb97a9 (canonically-space-region, justify-current-line): Add * to interactive
spec.
(fill-region-as-paragraph, fill-paragraph, fill-region)
(fill-nonuniform-paragraphs, fill-individual-paragraphs): Check
readonly buffer in interactive spec.
1999-07-20 16:02:27 +00:00
Dave Love
4ea1d5dd95 (kill-paragraph, backward-kill-paragraph, kill-sentence)
(backward-kill-sentence): Add * to interactive spec.
1999-07-20 15:56:11 +00:00
Dave Love
8371c2f27d (underline-region, ununderline-region): Add * to interactive spec. 1999-07-20 15:53:45 +00:00
Richard M. Stallman
9658746b2a (flyspell-get-word): Add special handling for when ispell-otherchars is empty. 1999-07-12 16:01:16 +00:00
Richard M. Stallman
3a7855cec9 (ispell-dictionary-alist-6): Change charset for Russian.
(ispell-local-dictionary-alist): Add koi8-r for character set.
1999-07-12 16:00:42 +00:00
Karl Heuer
57ec4af047 (reftex-pop-to-bibtex-entry): don't pop up
a frame when `return' is requested (even if pop-up-frames = t)
1999-06-27 23:36:46 +00:00
Karl Heuer
263230fae9 (bibtex-mode): `font-lock-mark-block-function'
should only be set for the bibtex buffer.
1999-06-27 23:34:54 +00:00
Karl Heuer
1fc4747e4e Don't print any messages or display
a buffer when loading the library.
(r2b-help): Doc fix.
(r2b-help-message): Update the documentation.
(r2b-load-quietly): Variable deleted.
(r2b-convert-buffer): Doc fix.
1999-06-04 18:39:01 +00:00