Commit graph

967 commits

Author SHA1 Message Date
Dave Love
b3df462253 (spell-filter): Fix :type. 2001-02-07 23:34:37 +00:00
Dave Love
8919155a8f (sentence-end): Doc fix. 2001-02-07 23:33:35 +00:00
Dave Love
ef4d4394bf (adaptive-fill-function): Fix :type 2001-02-07 23:31:57 +00:00
Dave Love
b4a64de468 (bibtex-autokey-before-presentation-function): Fix :type. 2001-02-07 23:30:40 +00:00
Eli Zaretskii
e6297e7db4 (nroff-mode): Set the SYNTAX-BEGIN part
of font-lock-defaults to backward-paragraph.
2001-02-05 13:30:45 +00:00
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