1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00
Commit Graph

1012 Commits

Author SHA1 Message Date
Gerd Moellmann
2441692dc8 (set-fill-prefix): Cancel fill prefix if point
is in front of the left-margin, if any.
2001-01-31 16:12:41 +00:00
Dave Love
1f44857f25 Doc fixes. Add :version to new options. 2001-01-26 18:52:53 +00:00
Dave Love
ae4eaaada5 (outline-mode) <font-lock-defaults>: Add
backward-paragraph as font-lock-beginning-of-syntax-function.
2001-01-23 11:56:21 +00:00
Gerd Moellmann
48bb9196de (texinfo-mode): Use backward-paragraph
as font-lock-beginning-of-syntax-function in font-lock-defaults.
2001-01-19 16:49:04 +00:00
Gerd Moellmann
25c99c6d35 (mail-mode-flyspell-verify): Check in
Subject line only if point is after the `Subject:'.
2001-01-16 14:04:21 +00:00
Miles Bader
47a9f362d8 (ispell-adjusted-window-height): New function.
(ispell-overlay-window, ispell-help, ispell-show-choices)
(ispell-command-loop): Use it instead of `window-height'.
2001-01-11 07:54:17 +00:00
Gerd Moellmann
53287eb034 (mail-mode-flyspell-verify): Spell-check
in Subject line.
2000-12-29 15:14:51 +00:00
Kenichi Handa
6d01793f1a (artist-butlast): Deleted.
(artist-ellipse-mirror-quadrant): Use butlast instead of
artist-last.
2000-12-28 12:22:25 +00:00
Gerd Moellmann
14ec09d77e (texinfo-mode): Set fill-column to 70. 2000-12-27 16:12:51 +00:00
Carsten Dominik
4e33ebe073 (reftex-view-crossref): added SPACE and TAB as key separators. 2000-12-19 11:09:28 +00:00
Stefan Monnier
3f5dc0b030 Typo. 2000-12-18 03:19:54 +00:00
Miles Bader
5a04700221 (artist-replace-chars, artist-replace-char):
Check that emacs-major-version is `=' to 20, not `>='.
(artist-replace-chars): Use `make-string' instead of a loop.
2000-12-18 01:18:43 +00:00
Eli Zaretskii
6ef3fdfb94 (check-ispell-version): If
`ispell-program-name' is "aspell", pass it the -v switch instead
of -vv.
2000-12-16 15:13:31 +00:00
Miles Bader
24b0afdc47 (ispell-overlay-window): Ensure that the new window is really the right size.
Use vertical-motion rather than forward-line.
(ispell-help): Don't use ispell-mode-line-window-height-fudge.
(ispell-command-loop, ispell-show-choices): Use the variable
  ispell-choices-win-default-height, rather than the function.
(ispell-choices-win-default-height): Function removed.
(ispell-mode-line-window-height-fudge): Function removed.
2000-12-15 01:09:50 +00:00
Stefan Monnier
bb0ffa6f95 Moved from textmodes/ooutline.el to obsolete/ooutline.el 2000-12-11 21:38:19 +00:00
Carsten Dominik
11b4a0d232 Update to RefTeX 4.15, see ChangeLog for details 2000-12-10 11:00:45 +00:00
Stefan Monnier
5002ddbb2e (texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
2000-12-08 16:35:24 +00:00
Stefan Monnier
a11609d8c3 Move the (require 'cl) to the front of the
file where it's more visible.
(texinfo-filter, texinfo-chapter-level-regexp): New variables
moved from texnfo-upd.el (for AUCTeX's compatibility, originally).
(texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
(texinfo-inside-macro-p): Only catch `scan-error's.
(texinfo-inside-env-p): Make better use of the match info.
(texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'.
(texinfo-insert-@end): Slight re-organization.
Also remove useless `looking-at' call.
2000-12-08 16:31:50 +00:00
Gerd Moellmann
3dfd2532dd (ispell): Doc fix. 2000-12-08 10:49:20 +00:00
Dave Love
08f9e2545c Require tex-mode when compiling.
(texinfo-update-node): Doc fix.
(texinfo-imenu-generic-expression): Add @anchor.
(texinfo-font-lock-keywords): Add @uref.
(texinfo-inside-macro-p): Don't use ignore-errors.
(texinfo-insert-quote): Match more contexts.
2000-12-06 19:34:15 +00:00
Gerd Moellmann
2f002eb086 (reftex-toc-menu): Fix typo. 2000-12-05 14:41:58 +00:00
Stefan Monnier
07c16ec439 (tex-start-shell): Obey shell-file-name.
(tex-main-file, tex-file): Simplify.
(tex-generate-zap-file-name): Use subst-char-in-string.
(tex-strip-dots): Remove.
2000-12-02 21:57:41 +00:00
Stefan Monnier
27ce741e2b (check-ispell-version): Don't use match-beginning
to check if the match succeeded.
2000-12-02 20:28:44 +00:00
Eli Zaretskii
9768eaa75d (texinfo-open-quote, texinfo-close-quote):
New defcustoms.
(texinfo-insert-quote): Don't call tex-insert-quote, to avoid
autoloading tex-mode; instead, do the same manually.  Use
texinfo-open-quote and texinfo-close-quote.  Insert literal quote
with numeric argument.  Docstring fix.
(toplevel): Require cl when compiling.
2000-12-02 15:33:30 +00:00
Gerd Moellmann
8049ddc043 *** empty log message *** 2000-11-28 11:37:40 +00:00
Dave Love
8216868956 Add Keywords header. 2000-11-27 19:27:33 +00:00
Stefan Monnier
75056d4015 (outline-discard-overlays): Missing paren. 2000-11-23 00:41:42 +00:00
Stefan Monnier
9cd5d49aee (outline-flag-region):
Don't bind inhibit-read-only since we don't modify the buffer.
(outline-isearch-open-invisible): Don't jump to overlay-start
since we're trying to unhide text around point.
(outline-discard-overlays): Use dolist.
2000-11-23 00:04:36 +00:00
Stefan Monnier
1598a9616b (tex-font-lock-keywords-1): Fix ARG regexp to skip quoted braces.
(tex-font-lock-keywords-2): Fix ARG regexp to skip quoted braces.
Remove `bf' and `it' from `bold' and `italic' (they were wrong and
are (correctly) handled separately).
Remove `caption' and `footnote' from `citations': they contain text.
Don't highlight `textmd', `texttt' and `textrm' with bold-italic.
(latex-skeleton-end-hook): New function.
(latex-mode): Use it.
(tex-start-tex-marker): Remove.
(tex-send-tex-command): Don't set tex-start-tex-marker.
(tex-error-parse-syntax-table): New var.
(tex-compilation-parse-errors): Use it.
Ignore tex-start-tex-marker.  Don't bother with marker-position.
(tex-validate-buffer): Don't bother with marker-position.
2000-11-22 21:38:04 +00:00
Stefan Monnier
9b047c6934 (flyspell-prog-text-faces): New var.
(flyspell-generic-progmode-verify): Use it.
2000-11-22 21:05:36 +00:00
Sam Steingold
eaae8106d7 * simple.el (delete-trailing-whitespace): New interactive function.
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
2000-11-22 20:59:39 +00:00
Miles Bader
d9fdcdb568 (refill-adjust-ignorable-overlay, refill-fill-paragraph-at):
Remove debugging code.
2000-11-22 11:34:05 +00:00
Miles Bader
867092e9ac (refill-ignorable-overlay): New variable.
(refill-adjust-ignorable-overlay): New function.
(refill-pre-command-function): New function.
(refill-mode): Add `refill-pre-command-function' to `pre-command-hook'.
Initialize/cleanup `refill-ignorable-overlay'.
(refill-post-command-function): Don't reset refill-doit in the case
where a self-insertion command doesn't case a refill.  Use
`refill-fill-paragraph-at', getting position from `refill-doit'.
(refill-after-change-function): Set `refill-doit' to END.
(refill-fill-paragraph-at): New function, mostly from old
refill-fill-paragraph.  Use `refill-ignorable-overlay' to fill only the
paragraph's tail if possible.  Update `refill-ignorable-overlay'.  Don't
leave point inside the fill-prefix.
(refill-fill-paragraph): Use `refill-fill-paragraph-at'.
2000-11-21 01:11:49 +00:00
Gerd Moellmann
fb39bbbda1 (artist-mode): Fix autoload cookie. 2000-11-20 19:29:19 +00:00
Gerd Moellmann
b95b34e5de *** empty log message *** 2000-11-19 14:36:27 +00:00
Eli Zaretskii
4fb0a34c57 (texinfo-insert-@uref): Renamed from
texinfo-insert-@url.
(texinfo-insert-@url): A defalias for texinfo-insert-@uref.
(texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
2000-11-15 13:57:50 +00:00
Stefan Monnier
ae523e577e (tex-mode-map): Remove `tex-compile', not ready for prime-time. 2000-11-14 11:50:40 +00:00
Stefan Monnier
bdbd960600 (tex-font-lock-keywords-1): Use `keep'
rather than `prepend' and add an interesting comment.
(tex-math-face, tex-font-lock-syntactic-face-function):
New face and function to use it.
(tex-define-common-keys, tex-mode-map): Use menu-item rather
than `menu-enable' symbol property.
(tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
(tex-mode): Add some latex-mode commands for auto-selection.
Use tex-font-lock-syntactic-face-function.
(tex-insert-quote): Simplify.
(tex-shell): New mode.
(tex-start-shell): Use it.
(tex-shell-proc, tex-shell-buf): New functions.
(tex-send-command): Use it.
(tex-main-file): Fix the meaning of the new arg REALFILE.
(tex-send-tex-command): New function split from `tex-start-tex'.
Set compilation-last-buffer and compilation-parsing-end.
2000-11-14 11:41:51 +00:00
Miles Bader
27849a6528 (skip-line-prefix): New function.
(fill-region-as-paragraph, fill-region): Return the fill-prefix.
(fill-paragraph): Don't leave point inside the fill-prefix.
2000-11-13 12:11:04 +00:00
Miles Bader
f5ed37df73 (flyspell-mode-on): Only output welcome message if interactive. 2000-11-12 13:26:15 +00:00
Stefan Monnier
d7fa3319f5 (texinfo-block-default): New var.
(texinfo-insert-block): Use it.  Insert a newline if needed.
2000-11-10 11:55:06 +00:00
Stefan Monnier
178932de25 (fill-indent-according-to-mode): New var.
(fill-region-as-paragraph): Use it.
2000-11-10 11:43:55 +00:00
Stefan Monnier
dd459839da (standard-latex-block-names): Add "math".
(latex-mode): Tweak tex-*-(head|trail)er regexps.
Tweak paragraph regexps to allow a leading [ \t]*.
(tex-latex-block): Insert a newline if necessary.
(latex-insert-item): Only insert a newline if necessary.
(tex-guess-main-file): New function.
(tex-main-file): Use it.  Add arg `realfile'.  Trim `.tex'.
Set tex-main-file if TeX-master is provided.
(tex-latex-indent-syntax-table): Map ( and ) to punctuation.
2000-11-10 10:25:00 +00:00
Gerd Moellmann
730c746cac (toplevel): Use byte-compiling-files-p
if it is there.
2000-11-09 23:05:07 +00:00
Gerd Moellmann
f52ef73912 (ispell-library-path): Don't call
check-ispell-version when byte-compiling because that starts
an ispell process, and ispell might not be installed.
(toplevel): Don't set up a menu when byte-compiling.
2000-11-09 16:09:04 +00:00
Stefan Monnier
6f602bd063 Require texinfo.
(defmacro, defgroup): Remove.
(texinfo-section-to-generic-alist): Remove.
Use texinfo-section-list instead (i.e. level is changed string->int).
(texinfo-filter): New function.
(texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
(texinfo-subsection-level-regexp, texinfo-section-level-regexp):
Use it.  And use regexp-opt.
(texinfo-find-higher-level-node, texinfo-hierarchic-level)
(texinfo-update-menu-region-beginning)
(texinfo-update-menu-same-level-regexps)
(texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
(texinfo-update-the-node, texinfo-sequentially-update-the-node): Update.
(texinfo-update-node, texinfo-every-node-update)
(texinfo-sequential-node-update): Remove autoload cookie.
2000-11-06 15:53:05 +00:00
Stefan Monnier
17ff7a277a (texinfo-chapter-level-regexp): Remove.
(texinfo-mode): Hard code texinfo-chapter-level-regexp.
2000-11-06 15:49:33 +00:00
Stefan Monnier
92819e90bb (texinfo-section-list): Change majorheading to 2.
(texinfo-font-lock-syntactic-keywords): Use syntax-strings.
2000-11-06 14:44:17 +00:00
Sam Steingold
a403261168 use default-directory when tex-main-file has no directory 2000-10-31 21:31:55 +00:00
John Wiegley
dace60cfea See ChangeLog 2000-10-29 05:18:48 +00:00
Dave Love
10ee3d7945 (refill-late-fill-paragraph-function): New
variable.
(refill-mode): Use it.
2000-10-27 15:50:24 +00:00
Dave Love
85c766e9ed Remove bits redundant with define-minor-mode. 2000-10-23 12:35:01 +00:00
Stefan Monnier
7850e18845 Fix var names in doc.
(refill-mode): Don't bother with make-local-hook anymore.
2000-10-23 07:35:30 +00:00
Dave Love
aaaf7be7c8 *** empty log message *** 2000-10-22 16:28:19 +00:00
Miles Bader
e34850d19f (ispell-mode-line-window-height-fudge):
New function, conditionally aliased to `mode-line-window-height-fudge'.
(ispell-help): Use it.
(ispell-choices-win-default-height): Don't include mode-line fudge.
(ispell-choices-win-default-height): New function.
(ispell-show-choices, ispell-command-loop): Use function
`ispell-choices-win-default-height' instead of variable.
2000-10-20 12:23:37 +00:00
Stefan Monnier
ea590e1c63 Require CL when compiling.
(tex-mode-syntax-table): Init immediately.
(tex-mode-map): Bind M-RET to latex-insert-item.
(latex-mode): Set indent-line-function to latex-indent.
(tex-common-initialization): Don't setup the syntax-table any more.
(latex-insert-item): New skeleton.
(tex-next-unmatched-end): Fix copy/paste braino.
(latex-syntax-after, latex-skip-close-parens, latex-down-list)
(latex-indent, latex-find-indent): New functions.
(tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
(tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
(tex-compilation-parse-errors): Use with-syntax-table.
2000-10-15 03:48:17 +00:00
Stefan Monnier
07e77e3628 Update copyright and fix typo. 2000-10-10 19:35:00 +00:00
Dave Love
742c182294 (sentence-end-double-space)
(sentence-end-without-period):  Doc fix.
(adaptive-fill-regexp): Purecopy.
(unjustify-current-line): Use line-end-position.
(fill-individual-paragraphs-prefix): Use line-beginning-position.
2000-10-06 19:50:40 +00:00
Stefan Monnier
003dd63517 (texinfo-mode-menu): Add an explicit shortcut for update all. 2000-10-03 18:33:10 +00:00
Stefan Monnier
28c7697169 (texinfo-heading-face): Forgot the var def. 2000-10-03 18:29:54 +00:00
Stefan Monnier
53c4fe4786 (latex-metasection-list): New var.
(latex-imenu-create-index): Use it.
Move the regexp construction outside loops (and use push).
(tex-font-lock-keywords-1, tex-font-lock-keywords-2)
(tex-font-lock-keywords): Moved from font-lock.el.
(tex-comment-indent): Remove.
(tex-common-initialization): Don't set comment-indent-function.
(latex-block-default): New var.
(tex-latex-block): Use it to provide a default choice.
Add any unknown choice to latex-block-names.
Insert [...] after {...}.
(tex-last-unended-begin): Simplify regexp.
(tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
(latex-forward-sexp-1, latex-forward-sexp): New functions.
(latex-mode): Set forward-sexp-function.
2000-10-01 00:47:41 +00:00
Stefan Monnier
eedd281265 (texinfo-font-lock-syntactic-keywords):
Add regexp for @ignore ... @end ignore.
(texinfo-heading-face): New face.
(texinfo-font-lock-keywords): Use it.
(texinfo-mode-menu): New menu.
(texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
New functions.
(texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
(texinfo-section-types-regexp, texinfo-section-level-regexp)
(texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
Remove declaration.
(texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2000-10-01 00:30:52 +00:00
Gerd Moellmann
4e9b8ebe4e (latex-outline-regexp): Don't use `list*';
it's a function from CL.
(latex-imenu-create-index): Replace eval-when-compile with progn
because latex-section-alist is not bound while compiling.
2000-09-29 08:46:30 +00:00
Stefan Monnier
d8c201f535 (outline-minor-mode): Use define-minor-mode.
(outline-mode): Use define-derived-mode.
2000-09-29 03:36:26 +00:00
Stefan Monnier
d6709b8094 (latex-imenu-indent-string): Add a space.
(latex-outline-regexp): New var.
(latex-outline-level): New fun.
(latex-section-alist): New var.
(latex-imenu-create-index): Use it.  Use `push' as well.
(tex-shell-map): Initialize it properly.
(tex-mode): Minor stylistic change.
(plain-tex-mode): Use define-derived-mode.
(latex-mode): Use define-derived-mode.
Construct the paragraph regexps in a more readable way.
Set the buffer-local outline-{level,regexp} vars.
(slitex-mode): Derive from latex-mode.
(tex-common-initialization): Don't kill-all-vars anymore.
Add setting for comment-add and font-lock-defaults.
(tex-start-shell): Use with-current-buffer and don't re-init keymap.
(tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
(tex-start-tex): New arg DIR (and send a chdir command for it).
Also display the shell buffer and save it in tex-last-buffer-texed.
(tex-region): Use expand-file-name rather than concat.
Remove code made useless by changes in tex-start-tex.
(tex-file): Use tex-main-file and adapt to new tex-start-tex.
2000-09-29 01:45:46 +00:00
Gerd Moellmann
8bd88d5452 (texinfo-mode): Prevent filling lines
starting with `@def' or `@multitable', in addition to ones
specified by the user in auto-fill-inhibit-regexp.
2000-09-25 11:16:43 +00:00
Dave Love
e5bed4019b Minor doc/commentary fixes.
(tildify) <defgroup>: Add :version.
2000-09-10 22:07:06 +00:00
Stefan Monnier
cdd0f857a6 (ispell-menu-map-needed): Put back the boundp
check since ispell-process is not bound when ispell is not yet loaded.
2000-08-18 18:46:25 +00:00
Gerd Moellmann
6ad96760ff (ispell-dictionary-alist-6): Add `portugues'. 2000-08-18 06:18:18 +00:00
Gerd Moellmann
fea6948a28 Set to standard author/maintainer/keyword fields.
Fine tuning to menu map appearance and operation, and added help.
Remove `start' and `end' error messages when compiling.
(ispell-choices-win-default-height): Fixed comment string.
(ispell-dictionary-alist-1): Fixed regexp in castellano and
castellano8 dictionaries.
(ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
(ispell-dictionary-alist-4): Fixed regexp in francais-tex
dictionary, added italiano dictionary.
(ispell-skip-region-alist): Removed regexp thrashing when `-' is a
word character
(ispell-tex-skip-alists): Added psfig support.
(ispell-skip-html): Renamed from ispell-skip-sgml.
(ispell-begin-skip-region-regexp, ispell-skip-region)
(ispell-minor-check): Improved html skipping support to skip across
code, and recognize `&' commands without propper `;' syntax;
(ispell-process-line): Fix alignment error when manually
correcting spelling.
(ispell): Fix comment string.
(ispell-add-per-file-word-list): Always put word list on new line.
2000-08-17 20:54:01 +00:00
Stefan Monnier
c0df1972b2 Don't quote lambda. 2000-08-16 21:05:37 +00:00
Stefan Monnier
7e86942c8a (outline-minor-mode): Don't quote lambda. 2000-08-16 20:34:25 +00:00
Miles Bader
fde143e86e (ispell-graphic-p): New constant.
(ispell-choices-win-default-height, ispell-help):
  Use `ispell-graphic-p' instead of `xemacsp'.
2000-08-15 12:06:42 +00:00
Gerd Moellmann
754bd273b7 (ispell): New function, replacing an alias.
Spell-check active region if in transient-mark-mode and mark
is active; otherwise spell-check buffer.
2000-08-02 20:21:53 +00:00
Eli Zaretskii
3b5fab8756 (ispell-highlight-spelling-error): Use
display-color-p, if fboundp, instead of window-system.
2000-08-01 06:25:13 +00:00
Gerd Moellmann
7465ebefa2 (flyspell-mouse-map): Use `map' instead
of flyspell-mouse-map.
2000-07-26 13:05:03 +00:00
Gerd Moellmann
3215afc493 Update to author's version 1.5d. 2000-07-24 18:36:17 +00:00
Gerd Moellmann
7cf5c4268f Correct maintainer's email address. 2000-07-19 15:50:36 +00:00
Dave Love
1dfca8bad6 (reftex-bibtex-selection-callback): Call throw correctly. 2000-07-13 18:54:58 +00:00
Gerd Moellmann
90601de977 (refer-find-entry-internal): Use some-window
instead of cycling through windows with next-window.
2000-07-03 09:10:44 +00:00
Carsten Dominik
d8fb201545 * textmodes/reftex.el (reftex-find-citation-regexp-format):
Support for bibentry.
(reftex-compile-variables): Fixed problem with end of section-re.

* texmodes/reftex-dcr.el (reftex-view-crossref,
reftex-view-crossref-from-bibtex): Deal with changed
`reftex-find-citation-regexp-format'.
(reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
Replaced `remprop' with `put'.
(reftex-view-crossref, reftex-view-crossref-when-idle): Support
for bibentry.

* textmodes/reftex-vars.el (reftex-cite-format-builtin): New entry for
bibentry package.

* textmodes/reftex-parse.el (reftex-locate-bibliography-files): Regexp also
matches "\nobibliography".

* textmodes/reftex-global.el (reftex-renumber-simple-labels): Call
`reftex-ensure-write-access' before doing anything.
(reftex-ensure-write-access): New function.
2000-06-20 12:52:00 +00:00
Sam Steingold
3a8e2ba917 ignore *.elc 2000-06-19 16:16:01 +00:00
Stefan Monnier
b94deab8d5 (makeinfo-compile): Don't quote lambda. 2000-06-12 05:28:02 +00:00
Kenichi Handa
b1376368e2 (fill-find-break-point): Check the validity of charset. 2000-06-07 12:00:23 +00:00
Dave Love
3239529732 Add Finder keywords. 2000-05-25 18:14:12 +00:00
Dave Love
f1ed9461a9 Add to debug-ignored-errors. 2000-05-22 17:41:53 +00:00
Gerd Moellmann
11595aa959 (texinfo-format-xref): Don't try to insert nil. 2000-04-27 18:58:13 +00:00
Gerd Moellmann
af9eaa5eb3 (texinfo-insert-@email)
(texinfo-insert-@emph, texinfo-insert-@quotation)
(texinfo-insert-@strong, texinfo-insert-@url): New functions.
(texinfo-mode-map): Add key bindings for them.
2000-04-17 15:23:08 +00:00
Stefan Monnier
e3721db120 (texinfo-mode-syntax-table): Add \n as comment-end.
(texinfo-font-lock-syntactic-keywords): New var.
(texinfo-font-lock-keywords): Remove comment regexp.
(texinfo-insert-block): New function.
(texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
(texinfo-mode): Use define-derived-mode.
Tweak comment-start-skip and font-lock-defaults.
Use regexp-opt for outline-regexp.
(texinfo-environments): New var.
(texinfo-environment-regexp): Use regexp-opt and texinfo-environments.
2000-04-17 11:45:39 +00:00
Stefan Monnier
fa72a6a13a (ispell-menu-map-needed): Check that ispell-process
is bound since this might be eval'd before ispell is loaded.
(ispell-message): Use a tiny bit less magic and a bit more hard data
to figure out what kind of sc-cite-regexp to use.
2000-04-17 11:00:39 +00:00
Eli Zaretskii
8eba343c5b (ispell-menu-map): Menu items rearranged and
converted to the new menu-item format, names silightly changed,
help strings added.

Support for spelling without async subprocesses:

(ispell-cmd-args, ispell-output-buffer)
(ispell-session-buffer): New variables.
(ispell-start-process, ispell-process-status,
ispell-accept-output, ispell-send-string): New functions, for
Ispell invocation when async subprocesses aren't supported.
(ispell-word, ispell-pdict-save, ispell-command-loop,
ispell-process-line, ispell-buffer-local-parsing): Replace calls
to process-send-string with calls to ispell-send-string, and
accept-process-output with ispell-accept-output.
(ispell-init-process): Call ispell-process-status instead of
process-status with.
(ispell-init-process): Call ispell-start-process.  Call
ispell-accept-output and ispell-send-string.  Don't call
process-kill-without-query and kill-process if they are unbound.
(ispell-async-processp): New function.
2000-04-13 14:02:23 +00:00
Gerd Moellmann
3b99a4f882 (fill-individual-paragraphs): If a no-prefix
line is followed by one that matches CITATION-REGEXP, end the
paragraph.
2000-04-03 19:28:16 +00:00
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