Commit graph

1058 commits

Author SHA1 Message Date
Stefan Monnier
6d1f0a5ea9 (fill-context-prefix): Fix braino. 2001-11-03 00:55:10 +00:00
Stefan Monnier
2d78d3e878 (fill-region-as-paragraph): Don't forget to skip
over current whitespace before looking for a preceding space.
2001-11-02 03:10:46 +00:00
Richard M. Stallman
bca8616b09 (sgml-xml-guess): Fix regexp to avoid ambiguous nested loops. 2001-11-01 19:35:05 +00:00
Stefan Monnier
03e3e2e91f (sentence-end-double-space, sentence-end-without-period): Move to paragraphs.
(fill-indent-according-to-mode): Change default to t.
(fill-context-prefix): Simplify control-flow and use a more
sophisticated merge that unifies both previous checks.
(fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
(fill-nobreak-predicate): Make it into a defcustom'd hook.
(fill-nobreak-p): New fun.
(fill-region-as-paragraph): Use it.
Handle `fill-indent-according-to-mode' slightly differently.
(fill-individual-paragraphs-prefix): Simplify the control-flow.
(fill-individual-paragraphs-citation): Fix.
2001-10-30 08:08:12 +00:00
Stefan Monnier
629261c740 (sentence-end-double-space, sentence-end-without-period): Move from fill.el.
(forward-paragraph): Use `parstart' and `parsep' for temp variables
rather than rebinding `paragraph-start' and `paragraph-separate'.
2001-10-30 06:46:49 +00:00
Stefan Monnier
9e59bf581e (text-mode-map): Remove the \t binding.
(text-mode): Simplify now that the default is more favorable.
(paragraph-indent-text-mode): Fix last change.
2001-10-30 06:00:10 +00:00
Stefan Monnier
07187d5515 (use-hard-newlines): Use define-minor-mode.
(paragraph-start): Change default to the `text-mode' value.
2001-10-30 05:57:43 +00:00
Stefan Monnier
0fb36e365e (paragraph-indent-minor-mode): Don't set paragraph-separate.
Set paragraph-start more carefully.  Set indent-line-function.
(paragraph-indent-text-mode): Use it and define-derived-mode.
2001-10-30 05:26:44 +00:00
Richard M. Stallman
bb41818d98 (version18p, version20p): Vars deleted.
All uses removed--assume Emacs version is >= 20.
2001-10-28 14:21:59 +00:00
Stefan Monnier
b2e8c203e4 (sgml-tags-invisible): Typo. 2001-10-28 04:12:46 +00:00
Stefan Monnier
73d25e5276 (sgml-empty-tags): New var.
(sgml-tag): Use it.  Cleanup with `cond'.
(sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
Mark the overlays and only delete those that are marked.
(sgml-skip-close-p): Remove.
(sgml-value): Replace sgml-skip-close-p with its definition.
(html-tag-alist): Use sgml-xml a bit more.
(html-mode): Set sgml-empty-tags.
2001-10-28 04:10:40 +00:00
Stefan Monnier
b9f6016110 Use when', dolist', `push', ...
(texinfo-update-node, texinfo-sequential-node-update):
Don't bind the obsolete `auto-fill-hook'.
(texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
Use `set-buffer' rather than `switch-to-buffer'.
(texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
Use `set-buffer' rather than `switch-to-buffer'.
2001-10-28 03:24:14 +00:00
Sam Steingold
c77c3a7302 renamed html-xhtml' to sgml-xml' and generalized accordingly 2001-10-27 16:07:35 +00:00
Eli Zaretskii
25cacfa7f0 No change. Error by bob, not eliz, logging change for wrong file. 2001-10-27 14:57:00 +00:00
Stefan Monnier
fdf1c7c32f (text-mode): Use define-derived-mode.
(toggle-text-mode-auto-fill): Use derived-mode-p.
2001-10-27 07:42:11 +00:00
Sam Steingold
e5d1dee911 (html-mode); set mode-name' based on html-xhtml' 2001-10-26 20:55:36 +00:00
Sam Steingold
58203d918e (html-mode): Set `html-xhtml' from the DOCTYPE.
(html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
(sgml-tag): Close empty tags in XHTML.
2001-10-26 20:29:10 +00:00
Sam Steingold
5950e02941 some code simplifications: when instead of if+progn;
line-beginning-position instead of progn+bol+point
2001-10-26 17:40:59 +00:00
Gerd Moellmann
63db25edff (artist-version): 1.2.4.
(artist-butlast-fn): New variable.
(artist-butlast): New function.
(artist-ellipse-mirror-quadrant): Use it.
(artist-mouse-draw-poly): Use nil for `point-list'.
(artist-mouse-draw-poly): Check for point-list being nil.
2001-10-26 09:51:14 +00:00
Stefan Monnier
6436765542 (sgml-font-lock-keywords-1): Ignore comments.
(sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
(sgml-font-lock-syntactic-keywords): New var.
(sgml-mode-common): Drop the two args.
Don't make buffer-local variables that aren't used.
Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
Don't set `before-string' props from sgml-display-text.
(sgml-mode): Use define-derived-mode.
(sgml-tags-invisible): Use sgml-display-text.
(sgml-quote): New command.
(html-tag-alist): Add args for `span'.
(html-mode): Use define-derived-mode.
Set sgml-display-text and sgml-tag-face-alist.
2001-10-25 22:25:30 +00:00
Stefan Monnier
3bd171d52c (font-lock-keywords): Make sure texinfo-clone-environment is called. 2001-10-25 05:22:30 +00:00
Stefan Monnier
8fe6d67f58 (texinfo-environments, texinfo-environment-regexp): Hoisted.
(texinfo-font-lock-keywords): Use `italic' and `bold' faces.
Only highlight the menu name in menu items.
Setup `@foo ... @end foo' as text clones.
(texinfo-clone-environment): New function.
(texinfo-mode): Simplify auto-fill-inhibit-regexp.
(texinfo-insert-block): Simplify.
(texinfo-insert-quote): Insert a plain " if preceded by \ or if
the command is repeated.
(texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
(texinfo-insert-@end): Simplify.
2001-10-25 03:54:21 +00:00
Stefan Monnier
739da9251a (texinfo-section-types-regexp)
(texinfo-section-level-regexp, texinfo-subsection-level-regexp)
(texinfo-subsubsection-level-regexp)
(texinfo-update-menu-same-level-regexps)
(texinfo-update-menu-higher-regexps)
(texinfo-update-menu-lower-regexps): Moved to eliminate warnings.
2001-10-25 03:39:43 +00:00
Eli Zaretskii
2840d65358 (sgml-mode-map): Bind 8-bit codes above 127 to sgml-maybe-name-self.
(sgml-name-8bit-mode): Doc fix.
(sgml-char-names-table): New variable.
(sgml-name-char): Support non-ASCII and mule-unicode-* characters.  Doc fix.
(sgml-maybe-name-self): Convert unibyte characters to multibyte.
2001-10-22 09:45:39 +00:00
Stefan Monnier
dda30de7fa Use define-derived-mode. 2001-10-13 19:22:43 +00:00
Stefan Monnier
a3d15b8fdd * play/gomoku.el (gomoku-mode):
* textmodes/page-ext.el (pages-directory-mode):
* textmodes/scribe.el (scribe-mode): Use define-derived-mode.
2001-10-13 19:19:01 +00:00
Stefan Monnier
d1a27f1dd8 (refill-mode): Bind DEL to backward-delete-char-untabify.
Set backward-delete-char-untabify-method to `hungry'.
2001-10-13 19:16:56 +00:00
Stefan Monnier
ffe7a2a203 (scribe-mode): Use define-derived-mode. 2001-10-13 19:13:38 +00:00
Stefan Monnier
b546b1a52d (2C-mode): Don't use make-local-hook. 2001-10-13 19:12:07 +00:00
Stefan Monnier
e444e0d6bb (picture-mode): Massage. 2001-10-13 19:11:32 +00:00
Sam Steingold
b4f05c3831 added `html-xhtml' for XHTML input 2001-10-05 16:21:14 +00:00
Gerd Moellmann
74ac24674b (nroff-mode-abbrev-table, nroff-mode): Use define-derived-mode.
(nroff-mode-map, nroff-mode-syntax-table): Massage.
2001-10-05 09:37:17 +00:00
Richard M. Stallman
89889a00ac (outline-regexp): Doc fix.
Initialize it in the defcustom, the usual way.
2001-09-12 20:42:08 +00:00
Gerd Moellmann
ac7b494762 (outline-mode): Use `^' and a shy group
when constructing imenu-generic-expression from outline-regexp.
2001-09-11 08:30:54 +00:00
Eli Zaretskii
ef10876c47 (ispell-dictionary-alist-4): Add "german"
and "german8", for the new German orthography dictionaries,
(ispell-dictionary-alist-5, ispell-dictionary-alist-6): Rearrange
the entries, to keep the line length balanced for loaddefs.el.
2001-09-07 15:37:45 +00:00
Gerd Moellmann
2baa325276 (refer-find-entry-internal): Use
get-window-with-predicate.
2001-09-07 11:35:09 +00:00
Eli Zaretskii
5b02e71299 Remove dots and exclams from end of error messages. From Pavel Janik. 2001-08-26 16:49:59 +00:00
Stefan Monnier
9371f619b9 (adaptive-fill-regexp): Admit tabs as well. 2001-08-22 22:20:06 +00:00
Gerd Moellmann
8039284a4a (texinfo-every-node-update): Remove
some space from a message.  From Pavel Jan,Bm(Bk  <Pavel@Janik.cz>.
2001-08-20 10:36:41 +00:00
Gerd Moellmann
21324fae4a Update copyright notice, fix minor
typos.
(texinfo-find-lower-level-node, texinfo-find-higher-level-node)
(texinfo-menu-locate-entry-p, texinfo-start-menu-description)
(texinfo-update-menu-region-beginning)
(texinfo-update-menu-region-end, texinfo-find-pointer): Add new
command, @ifnottex, to regexps, so it is found.
2001-08-16 17:59:38 +00:00
Gerd Moellmann
ea2c64784d (forward-sentence): Avoid building
a regexp from sentence-end.  From Kenichi Handa <handa@etl.go.jp>.
2001-08-07 09:57:32 +00:00
Pavel Janík
6228c05b99 Keyword added and FSF specified as Maintainer. 2001-08-06 10:12:17 +00:00
Pavel Janík
dffb622493 Milan Zamazal has new address. 2001-08-05 09:04:05 +00:00
Eli Zaretskii
2b2eabedd7 (ispell-alternate-dictionary): Add /usr/share/lib/dict/words, for Irix. 2001-08-01 15:29:35 +00:00
Pavel Janík
381194d084 Doc and coding conventions fixes. 2001-07-18 09:06:38 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Pavel Janík
6a05d05faf Fixes to follow coding conventions. 2001-07-16 11:39:42 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
2be7dabcae Fix license commentary. 2001-07-13 12:59:13 +00:00