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

870 Commits

Author SHA1 Message Date
Dave Love
d951f8cb75 (outline-font-lock-keywords): Use :upper:
and :alpha: char classes.
2000-03-31 11:07:14 +00:00
Dave Love
8434719478 (text-mode-hook): Add flyspell-mode to
:options.
2000-03-12 15:22:14 +00:00
Gerd Moellmann
d407456c9e (texinfo-version): Variable and function
removed.
2000-03-10 20:07:01 +00:00
Dave Love
275cf1b274 (kill-paragraph, backward-kill-paragraph)
(backward-kill-sentence, kill-sentence): Likewise.
2000-02-23 23:10:32 +00:00
Dave Love
2be80b63e7 (flyspell-mouse-map): Change definition
and assignments to it.
(flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
current local map.
(make-flyspell-overlay): Use it.
(flyspell-correct-word/mouse-keymap): Change XEmacs test.
2000-02-20 19:03:33 +00:00
Gerd Moellmann
f9bd4abe62 (bibtex-mode): Replaced manual splitting of path
at ':' characters by call to split-string.

Added RCS version identification.

Some temporary comments removed.
(bibtex-field-name, bibtex-entry-type): Made the relationship
explicit.
(bibtex-field-const): Allow capital letters.
(bibtex-start-of-string): Deleted because unused.

Unified some nomenclature.  We no longer
use the term 'reference' to describe a bibtex entry as a whole.
Further, reference keys are no longer called 'labels'.
(bibtex-keys): Renamed to bibtex-reference-keys.
(bibtex-reformat-previous-labels): Renamed to
bibtex-reformat-previous-reference-keys.
(bibtex-reference-type): Renamed to bibtex-entry-type.
(bibtex-reference-head): Renamed to bibtex-entry-head.
(bibtex-reference-maybe-empty-head): Renamed to
bibtex-entry-maybe-empty-head.
(bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
(bibtex-search-reference): Renamed to bibtex-search-entry.
(bibtex-enclosing-reference-maybe-empty-head): Renamed to
bibtex-enclosing-entry-maybe-empty-head.
(bibtex-entry-field-alist, bibtex-entry-head,
bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
bibtex-map-entries, bibtex-search-entry,
bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
bibtex-complete-key, bibtex-String) : Use the new nomenclature.

(bibtex-strings, bibtex-keys): Removed redundant
comment.
(bibtex-format-field-delimiters): New function, functionality
extracted from bibtex-format-entry.
(bibtex-autokey-get-yearfield-digits): New function, functionality
extracted from bibtex-autokey-get-yearfield.

Completely reimplemented parsing of bibtex
entries in order to avoid stack overflow in the regexp matcher if
field contents become large.
(bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
bibtex-field-string-part-not-braced,
bibtex-field-string-part-no-inner-braces,
bibtex-field-string-part-1-inner-brace,
bibtex-field-string-part-2-inner-braces,
bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
bibtex-field-string-quoted, bibtex-field-string,
bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
as parsing is now performed by the following functions.
(bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
bibtex-parse-field-string, bibtex-search-forward-field-string,
bibtex-parse-association, bibtex-field-name-for-parsing,
bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
bibtex-search-forward-field, bibtex-search-backward-field,
bibtex-start-of-field, bibtex-end-of-field,
bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
bibtex-parse-string-prefix, bibtex-parse-string-postfix,
bibtex-parse-string, bibtex-search-forward-string,
bibtex-search-backward-string, bibtex-start-of-string,
bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
bibtex-end-of-text-in-string): New functions for the parsing of bibtex
entries.  Instead of reporting the results of the parsing by
match-beginning or match-end, these functions return data structures
that hold the corresponding positions.
(bibtex-enclosing-field): Changed to also report field boundaries by
return values rather than by match-beginning or match-end.  The
following functions have been adapted to use the new parsing
functions.
(bibtex-skip-to-valid-entry, bibtex-search-reference,
bibtex-enclosing-field, bibtex-format-entry,
bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
bibtex-print-help-message, bibtex-end-of-entry,
bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
method for parsing.
(bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
bibtex-map-entries, bibtex-flash-head,
bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
bibtex-autokey-change, bibtex-autokey-get-namefield,
bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
order to make the new binding of case-fold-search immediately
visible.

Copyright notice is up to date.
Added constant 'bibtex-maintainer-salutation.

(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.

(bibtex-reference-key): Accept string entries whose
reference key contains upper case letters.

(bibtex-reference-head): Allow entries to start with
a new line.

Hiding of entry bodies is not longer provided by
bibtex.el directly.  Instead the hideshow package can be used.
Added a special bibtex entry to hs-special-modes-alist.
(bibtex-hs-forward-sexp): Added for hideshow.el.

(bibtex-entry-field-alist): Added booktitle field to
proceedings entry type (for cross referencing). Thanks to
Wagner Toledo Correa for the suggestion.

Added `reftex-view-crossref-from-bibtex' to menu.
2000-02-15 09:38:09 +00:00
Gerd Moellmann
fba5d1de83 (sgml-mode-common): Remove `$' from regexp for paragraph-start. 2000-02-12 19:45:53 +00:00
Carsten Dominik
6081676610 RefTeX 4.11 2000-02-04 10:04:45 +00:00
Carsten Dominik
9e9f557f44 (reftex-change-label): add `A-Z' to char class in regexp. 2000-02-04 10:04:00 +00:00
Carsten Dominik
ce1a4cb24a (reftex-with-special-syntax): Bind `case-fold-search' to nil. 2000-02-04 10:03:22 +00:00
Carsten Dominik
46177d5436 (reftex-compile-variables): regexp-quote the
environment names before they go into the section regexp.
2000-02-04 10:01:08 +00:00
Dave Love
a23cf8c2bd Fix year ranges in copyright notice. 2000-01-31 22:21:01 +00:00
Gerd Moellmann
7190ab8737 (fill-common-string-prefix): New function.
(fill-context-prefix): Use the longest common substring of both
prefixes, if there is one.
2000-01-11 21:42:12 +00:00
Gerd Moellmann
9050446cf6 (xemacsp, version18p, version-20p):
Add ispell- prefix.

Only define dictionaries in menus when they exist.
(version18p): New variable.
(version20p): New variable.
(xemacsp): New variable.
(ispell-choices-win-default-height): Fix for XEmacs visibility.
(ispell-dictionary-alist1): Added Brasileiro dictionary.
(ispell-dictionary-alist6): Russian command lines no longer accept
run-together words.
(ispell-local-dictionary-alist): Add koi8-r to customize definition.
(ispell-dictionary-alist): Add koi8-r to customize definition.
(check-ispell-version): Added documentation string.  Returns
library path when called non-interactively.
(ispell-menu-map-needed): Uses new variables.
(ispell-library-path): New variable.
(ispell-decode-string): XEmacs fix for bogus variable bindings.
(ispell-word): Improved documentation string.  Test for valid
character mappings.  Correctly check typed in word changes that can
result in single words split into multiple words.  Returns
replacement word.
(ispell-command-loop): Fixes XEmacs display bugs.  Show word to
replace in recursive query replace mode.  Help message for
recursive edit mode.
(ispell-show-choices): Protect against bad framepop bindings.
(ispell-help): Fix to work with XEmacs.
(ispell-highlight-spelling-error): Use new variables.
(ispell-overlay-window): Fix to work with XEmacs.
(ispell-parse-output): Passed and returns location information
tracking spelling corrections.  Doesn't recheck same word on
current line.
(ispell-init-process): Protect against bogus XEmacs variable binding.
Fix call to single argument in sleep-for.  Use new variables.
(ispell-region): Passed and returns location information tracking
spelling corrections.  Doesn't check same word on current line.
Improved documentation string.  Doesn't resend a line already
checked to the ispell process - fixes bug in LaTeX parsing.
(ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
(ispell-skip-region): No longer skips <TT> in SGML.
(ispell-process-line): Tracks location information with spelling
corrections.  Added documentation string.  Accounts for words
already accepted on this line.  Don't allow query-replace on line
starting with math characters.  Doesn't resend a line already sent
to ispell process.  Fixes alignment error bug.
2000-01-10 12:06:33 +00:00
Gerd Moellmann
9ed79f5d1a (texinfo-format-scan): Use ?\n instead
of a real newline.
2000-01-09 18:21:26 +00:00
Dave Love
c90e1eb8a8 Copyright up-date. 2000-01-05 22:59:31 +00:00
Dave Love
7549d20746 (outline-mode-menu-bar-map): Add outline-headers-as-kill.
(outline-mode): Define imenu-generic-expression.
(outline-headers-as-kill): New command.
2000-01-05 22:47:58 +00:00
Dave Love
9f78d51a12 (text-mode): Remove page-delimiter's `^' from paragraph-start.
(paragraph-indent-minor-mode): New command.
2000-01-05 22:32:54 +00:00
Carsten Dominik
9f286482cc New version number.
(reftex-parse-file-extionsion,reftex-index-phrase-file-extension): New options
2000-01-05 15:15:41 +00:00
Carsten Dominik
df543367e1 renamed reftex-vcr.el to reftex-dcr.el 2000-01-05 09:15:48 +00:00
Richard M. Stallman
3ba2590f71 Supply licensing info. 1999-12-30 02:57:12 +00:00
Richard M. Stallman
2b12cfbfd1 Fix in license info. 1999-12-30 02:50:29 +00:00
Richard M. Stallman
2765768780 (ispell-process-line): Add local var line-offset to adjust for the change
in positions within the line, due to previous replacements.
1999-12-28 05:37:52 +00:00
Dave Love
ffb0203dbf *** empty log message *** 1999-12-20 23:09:55 +00:00
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