Commit graph

1178 commits

Author SHA1 Message Date
Pavel Janík
d9a4974038 Doc fixes. 2001-12-03 06:11:37 +00:00
Pavel Janík
53d1c0af50 (reftex-toc-mode): Remove make-local-hook. 2001-12-02 09:32:20 +00:00
Pavel Janík
de7d394c32 (reftex-index-mode): Remove make-local-hook. 2001-12-02 09:31:36 +00:00
Stefan Monnier
cb27312117 (outline-mode-prefix-map): Add bindings for outline-promote and outline-demote.
(outline-minor-mode-menu-bar-map): New var.
(outline-minor-mode): Use it.
(outline-heading-alist): New var (renamed from outline-level-heading).
(outline-level): Use it.
(outline-insert-heading, outline-promote, outline-demote):
Update to use outline-heading-alist.
2001-12-02 08:39:39 +00:00
Stefan Monnier
52dcc11466 Doc fix. 2001-12-02 07:17:00 +00:00
Stefan Monnier
2137e978c3 (picture-mode-map): Don't use defconst for a variable. 2001-12-02 07:06:43 +00:00
Kai Großjohann
f48b59a233 (mark-paragraph): Clarify doc. Clarify
error message.  Suggestion from Richard M. Stallman.
2001-11-30 17:18:27 +00:00
Stefan Monnier
a16db7fe3c (outline-promote, outline-demote): Typo. 2001-11-30 09:23:19 +00:00
Stefan Monnier
7d7715b5f6 (outline-up-heading): Add `invisible-ok' arg.
(outline-up-heading-all): Remove.
(hide-sublevels): Move to end-of-heading before calling flag-region.
(outline-copy-overlay, outline-discard-overlays): Remove.
(outline-flag-region): Use `remove-overlays'.
Don't move to end-of-heading.
(outline-next-visible-heading, outline-back-to-heading)
(outline-on-heading-p): Use outline-invisible-p.
(outline-font-lock-level): Use outline-up-heading's new arg.
(outline-minor-mode): Simplify.
(outline-map-tree, outline-reveal-toggle-invisible): New funs.
(outline): Put a `reveal-toggle-invisible' property.
(outline-level-heading): New var.
(outline-insert-heading, outline-promote, outline-demote)
(outline-toggle-children): New commands.
2001-11-29 02:15:03 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +00:00
Pavel Janík
71a8775a4f (return-key-bib): Use insert instead of insert-string. 2001-11-26 16:18:39 +00:00
Stefan Monnier
4bcb1be178 (fill-indent-according-to-mode): Default to nil. 2001-11-25 22:37:00 +00:00
Stefan Monnier
2f4fa275e8 (fill-delete-prefix, fill-delete-newlines):
New functions, extracted from fill-region-as-paragraph.
(fill-region-as-paragraph): Use them.
Use an end marker instead of eob.
Ignore whitespace-only fill-prefixes when indenting according to mode.
Simply the loop that searches for spaces backwards.
2001-11-19 23:51:03 +00:00
Stefan Monnier
99b3bc616b (picture-vertical-step)
(picture-horizontal-step): Don't use defconst for variables.
2001-11-19 23:45:15 +00:00
Stefan Monnier
5829a569ec Doc fix. 2001-11-19 23:44:14 +00:00
Pavel Janík
eb1d71ab61 (flyspell-default-dictionary): Fix previous change. 2001-11-12 08:17:15 +00:00
Richard M. Stallman
b789d74a98 (flyspell-default-dictionary): Fix custom type. 2001-11-12 06:17:38 +00:00
Richard M. Stallman
487301c25e (flyspell-default-dictionary): Allow nil as value, and make nil the default. 2001-11-11 20:12:27 +00:00
Richard M. Stallman
a63f25a404 (flyspell-correct-word/local-keymap): Function deleted.
(flyspell-correct-word): Old definition deleted.
(flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
All references renamed too.
2001-11-10 18:36:26 +00:00
Richard M. Stallman
0dd10e6255 Use the keymap property instead of local-map, and don't use a minor-mode map.
(flyspell-mode-map): Variable deleted.
Don't mess with minor-mode-map-alist.
(calling add-minor-mode): Specify nil for keymap.
And always use add-minor-mode, now that it exists.
(flyspell-overlay-keymap-property-name): Set it to `keymap'.
(flyspell-mode-on): Don't locally bind flyspell-mouse-map
or flyspell-local-mouse-map.
(make-flyspell-overlay): Use flyspell-mouse-map directly.
(flyspell-mode): Doc fix.
(flyspell-mode-on): Don't call make-local-hook.
2001-11-10 01:20:22 +00:00
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