1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

1280 Commits

Author SHA1 Message Date
Sam Steingold
7abc9addc7 (tex-file): call save-some-buffers' before tex-main-file' 2002-07-01 19:55:45 +00:00
Richard M. Stallman
4855897e98 (picture-forward-column)
(picture-move-down): Never deactivate the mark.
2002-07-01 07:47:22 +00:00
Richard M. Stallman
e04464bb32 New maintainer. 2002-06-17 01:02:21 +00:00
Eli Zaretskii
c2345c0d9d Change the maintainer to "none". 2002-06-12 17:24:30 +00:00
Stefan Monnier
262d2cab9e (autoloaded toplevel): Don't use ispell-library-directory without
checking that it's bound.
2002-05-31 18:43:28 +00:00
Richard M. Stallman
a60f1fcdb5 (ispell-library-directory): Renamed from ispell-library-path.
If Ispell is not installed, init to nil.
(ispell-menu-map): Get rid of byte-compiling-files-p hackery;
initialize this unconditionally when ispell-menu-map-needed is t.
Local `path' renamed to `dir'.

(check-ispell-version): Doc fix.
2002-05-30 17:09:58 +00:00
Colin Walters
9d118494d5 (xml-mode): New alias for `sgml-mode'. 2002-05-28 16:51:06 +00:00
Mike Williams
232dbe4f66 (sgml-guess-indent): Look further into the buffer. 2002-05-22 09:40:48 +00:00
Stefan Monnier
f67376256a (outline-reveal-toggle-invisible): Reverse the meaning of the second arg. 2002-05-20 18:32:07 +00:00
Juanma Barranquero
aa87aafcde Fix typo. 2002-05-16 12:00:33 +00:00
Mike Williams
51df53f840 (sgml-tag): Default skeleton-transformation to `identity'. 2002-05-14 09:51:03 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Pavel Janík
58c6812940 (make-flyspell-overlay): Add help text to flyspell overlays. 2002-05-08 15:27:26 +00:00
Colin Walters
52ab062c96 (tex-validate-buffer): Use `occur-revert-arguments' instead of setting
`occur-nlines' and `occur-buffer'.  Don't test for `input-pending-p'
in loop.  Set text property `occur-target' instead of `occur'.
2002-05-01 05:22:08 +00:00
Robert J. Chassell
481b0db7f7 Cause `texinfo-insert-@node' to insert a carriage return after the
comment line.  This change does not affect normal use.  On the one
hand, it causes the command to insert a blank line when invoked on the
line preceeding the @section line.  This is a fault.  On the other
hand, it causes the command to format the output properly when you
invoke the command on the same line as the @chapter or similar line.
This is beneficial.
2002-04-29 12:59:26 +00:00
Stefan Monnier
dc864d6e59 (fill-context-prefix): Fix last change with yet-another-approach. 2002-04-29 04:02:22 +00:00
Richard M. Stallman
9e0ad27acd (tex-start-options): New variable.
(tex-start-commands): New variable.
(tex-start-options-string): Variable deleted.
(tex-start-tex): Use tex-start-options and tex-start-commands,
not tex-start-options-string.
(tex-command): Doc fix.
2002-04-26 21:19:24 +00:00
Mike Williams
662deeab31 (sgml-at-indentation-p): Move to fix compilation error. 2002-04-16 10:38:30 +00:00
Mike Williams
ca05be61ac (sgml-parse-tag-backward): Fix to work at beginning of buffer. 2002-04-14 12:50:10 +00:00
Stefan Monnier
79424eea3d (fill-region-as-paragraph): Use save-excursion instead of relying on
forward-line to bring us where we started.
2002-04-12 02:56:29 +00:00
Stefan Monnier
4599773d96 (fill-context-prefix): Fix up last change. 2002-04-12 00:01:53 +00:00
Stefan Monnier
bb424945f3 (canonically-space-region): Obey sentence-end.
Don't add spaces at end of sentences at end of line.
(fill-move-to-break-point): Make sure the result is always greater
than linebeg, so we ensure forward progress.
(fill-region-as-paragraph): Compare to `to' rather than eobp.
(fill-paragraph): Don't rebind fill-paragraph-function.
2002-04-11 22:00:07 +00:00
Mike Williams
2871b07a89 (sgml-guess-indent): New function. 2002-04-11 21:59:45 +00:00
Stefan Monnier
d47e9c0658 (adaptive-fill-regexp): Add ! and %.
(fill-delete-prefix): Remove indentation while removing prefix.
(fill-delete-newlines): Obey sentence-end.
(fill-move-to-break-point, fill-newline): New functions extracted
from fill-region-as-paragraph.
(fill-region-as-paragraph): Use them.
Don't fiddle with fill-indent-according-to-mode.
2002-04-10 21:21:12 +00:00
Stefan Monnier
419275721f (fill-context-prefix): Match the two prefixes
differently to avoid pathological exponential-time case.
2002-04-10 18:19:44 +00:00
Mike Williams
41bfcbee0d (sgml-lexical-context): Use sgml-parse-tag-backward to find start point.
(sgml-looking-back-at): Doc fix.
2002-04-09 12:27:17 +00:00
Mike Williams
9d4ce4285d (sgml-tag-alist): Doc fix. 2002-04-09 12:02:20 +00:00
Stefan Monnier
601280966a (sgml-comment-indent-new-line): New fun.
(sgml-mode): Use it for comment-line-break-function.
2002-04-08 21:32:05 +00:00
Mike Williams
5b4b6625bb Remove xml-lite.el 2002-04-06 04:03:23 +00:00
Mike Williams
a06283b144 Remember to (require 'cl). 2002-04-03 21:36:58 +00:00
Mike Williams
14614b6d3a (sgml-lexical-context): Fix up CDATA detection for boundary cases. 2002-04-03 21:17:38 +00:00
Mike Williams
2cfd19d446 (sgml-lexical-context)
(sgml-parse-tag-backward): Extend support for CDATA to include
conditional sections.
2002-04-03 12:13:29 +00:00
Mike Williams
80fc318ee8 (sgml-looking-back-at): Short-circuit at beg of buffer.
(sgml-lexical-context,sgml-calculate-indent): Add support for
CDATA sections.
2002-04-02 12:07:27 +00:00
Mike Williams
f6ab0573f9 (sgml-close-tag): Rename from
sgml-insert-end-tag. Simplify by using sgml-lexical-context.
(sgml-get-context): Remove use of sgml-inside-tag-p.
(sgml-inside-tag-p): Remove.
2002-04-02 11:26:12 +00:00
Stefan Monnier
2394187c2c (sgml-at-indentation-p, sgml-tag)
(sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
(sgml-inside-tag-p, sgml-get-context, sgml-show-context)
(sgml-insert-end-tag): New funs taken from xml-lite.el.
(sgml-calculate-indent): Use them.
(sgml-slash-matching): Rename from sgml-slash.
(sgml-slash): Copied from xml-lite and changed to use
sgml-slash-matching and sgml-quick-keys.
2002-04-01 23:32:15 +00:00
Mike Williams
2407f4e124 (xml-lite-parse-tag-backward): Fix for implicitly empty tags. 2002-04-01 12:44:34 +00:00
Mike Williams
9c59951810 (sgml-mode): Set indent-line-function to sgml-indent-line. 2002-04-01 12:43:47 +00:00
Mike Williams
08116853cf Add deprecation notice. 2002-04-01 12:14:55 +00:00
Mike Williams
a978da5677 Remove redundant name-end attribute.
Simplify parsing by assuming we always start within text.
Make use of sgml-unclosed-tag-p.
2002-04-01 12:10:53 +00:00
Mike Williams
347ea5576b Add an explicit check for 'text syntax, to protect against future
enhancements to sgml-lexical-context.
Add sgml-empty-tag-p and sgml-unclosed-tag-p.
2002-04-01 12:08:13 +00:00
Mike Williams
63fedde009 Remove redundant remains of xml-lite-mode. 2002-04-01 11:00:33 +00:00
Stefan Monnier
3fb819e538 (sgml-lexical-context): Return (text . START)
instead of nil when point is outside of any tag.
(sgml-beginning-of-tag): Adjust to the change.
(sgml-calculate-indent): Use the new info returned by
sgml-lexical-context.  Try to handle unclosed tags.
2002-03-29 22:20:15 +00:00
Stefan Monnier
4c0414fef4 (xml-lite-get-context): Don't stop parsing
at unclosed tags unless it is at indentation.
Kill nested unclosed tags.
(xml-lite-calculate-indent, xml-lite-indent-line): Remove.
(xml-lite-mode): Use sgml-indent-line instead.
2002-03-29 22:16:38 +00:00
Stefan Monnier
83f1651d4f (xml-lite-get-context): Allow stopping even with an empty context.
Don't save excursion any more.  Ignore end-tags in sgml-empty-tags.
Don't complain about unmatched start-tags in sgml-unclosed-tags.
(xml-lite-get-context, xml-lite-calculate-indent)
(xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
(xml-lite-indent-line): Use back-to-indentation.
2002-03-29 20:10:46 +00:00
Stefan Monnier
5f3d924def (sgml-basic-offset): New var.
(sgml-name-re, sgml-attrs-re): New consts.
(sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
(sgml-mode): Use them.
(sgml-lexical-context): Default to (point-min) if nothing else works.
(sgml-calculate-indent): Indent slightly differently.
(sgml-indent-line): Use back-to-indentation.
(sgml-parse-dtd): New function.
(sgml-unclosed-tags): New var.
(html-mode): Set it.
2002-03-29 19:38:22 +00:00
Stefan Monnier
0e58b4c23a (xml-lite-in-string-p): Use sgml-lexical-context.
(xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
(xml-lite-get-context): Check that open/close tags match.
Don't stop scanning while we're ignoring matching tags.
2002-03-28 16:13:01 +00:00
Stefan Monnier
1c1d2eb667 (sgml-make-syntax-table): New fun.
(sgml-mode-syntax-table): Use it.
(sgml-tag-syntax-table, sgml-tag-name-re): New const.
(sgml-tags-invisible): Use it.
(sgml-lexical-context): New fun.
(sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
(sgml-quote): Accept \n as entity reference terminator.
(sgml-calculate-indent, sgml-indent-line): New funs.
2002-03-28 16:06:38 +00:00
Stefan Monnier
843e95014b (xml-lite-in-string-p): Simplify. 2002-03-27 22:27:44 +00:00
Stefan Monnier
3c85628430 Fix copyright notice.
(xml-lite-basic-offset): Rename from xml-lite-indent-offset.
(xml-lite-indent-comment-offset): Remove.
(xml-lite-calculate-indent): Use new name.  Use natural alignment
for comments.
2002-03-27 22:25:45 +00:00
Stefan Monnier
3521e4b3ff Don't require `custom'.
(xml-lite-parse-tag-name): Properly treat non-ASCII chars.
(xml-lite-parse-tag-backward): Obey sgml-empty-tags.
(xml-lite-get-context): Drop nested tags not just for comments.
(xml-lite-indent-line): Be more careful about moving point.
(xml-lite-insert-end-tag, xml-lite-slash):
Use indent-according-to-mode instead of xml-lite-indent-line.
(xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
Set sgml-xml-mode.  Don't call force-mode-line-update.
(xml-lite-mode-map): Don't bind TAB.
2002-03-27 18:07:04 +00:00
Stefan Monnier
63080afce8 (xml-lite-at-indentation-p): Move.
(xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
New functions.
(forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
(end-of-xml-tag): Remove.
(xml-lite-get-context): Better handling of comments.
(xml-lite-calculate-indent): Use xml-lite-in-string-p.
(xml-lite-parse-tag-backward): Rewrite.
2002-03-27 00:06:42 +00:00
Stefan Monnier
a3ec4ba0ff (sgml-xml-mode): Renamed from sgml-xml.
(sgml-xml-guess): Simplify.
(sgml-mode-common): Remove (move into sgml-mode).
(sgml-mode): Add code from sgml-mode-common.
Remove redundant setting of indent-line-function.
Don't set skeleton-transformation when in XML mode.
2002-03-17 23:55:15 +00:00
Eli Zaretskii
efe7ebe3d5 (po-content-type-charset-alist): Convert the
car of each association to a string.
(po-find-file-coding-system-guts): If the charset matches a name
of a codepage, set up that codepage and return it as a coding
system to decode the file.
2002-03-16 17:29:48 +00:00
Eli Zaretskii
55859ca7d8 <top-level>: Remove the setup for all known codepages: it seems
to cause crashes in the CCL driver.
2002-03-16 16:28:01 +00:00
Eli Zaretskii
0cd9a1a919 (po-find-charset): Search for Charset= header even if we've read less than
4KB.
2002-03-16 16:14:38 +00:00
Pavel Janík
73cc75b559 (bibtex-sort-ignore-string-entries)
(bibtex-entry-field-alist): Doc fix.
2002-03-16 12:08:49 +00:00
Eli Zaretskii
2ca514455e (po-find-file-coding-system-guts): Use
with-temp-buffer instead of po-with-temp-buffer.
2002-03-15 19:30:36 +00:00
Eli Zaretskii
f6e2875153 New file. 2002-03-15 13:23:01 +00:00
Richard M. Stallman
5ed5b2c2da (picture-insert, picture-clear-column, picture-draw-rectangle):
Use move-to-column, not move-to-column-force.
2002-03-14 08:57:36 +00:00
Andreas Schwab
64a1ba1846 Revert last change. 2002-03-09 20:11:46 +00:00
Andreas Schwab
6b997f0825 Change Maintainer to FSF. 2002-03-08 19:31:38 +00:00
Richard M. Stallman
bac8c2e70a (picture-forward-column): New arg `interactive'
is non-nil for an interactive call.  Use instead of interactive-p.
(picture-backward-column): Likewise.
2002-03-08 09:58:51 +00:00
ShengHuo ZHU
3e549b18cf * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
with SILENT so that a new field can be added.
2002-03-06 21:57:10 +00:00
Stefan Monnier
0fda8eff1e Change maintainer to FSF.
(sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
(sgml-tags-invisible, sgml-beginning-of-tag):
Allow _ : and non-ASCII in tag names, as required for XML.
(sgml-name-char): Don't assume anything about charsets handled by encode-char.
2002-03-04 02:14:31 +00:00
Stefan Monnier
cb30255a83 (tex-guess-main-file): Handle the case where one of the buffers is narrowed. 2002-03-04 01:39:29 +00:00
Stefan Monnier
f101558c3d New file. 2002-03-04 01:08:34 +00:00
Richard M. Stallman
6320b36270 (artist-system): Use make-temp-file. 2002-03-03 22:22:42 +00:00
Robert J. Chassell
a056c2c7fa (texinfo-insert-menu): specify previously free variable `level' in a
`let' statement, as done elsewhere.

(texinfo-sequentially-find-pointer): replace unneeded free variable
`beginning' with (point-min) expression.
2002-03-03 17:30:07 +00:00
Pavel Janík
905a39b8c7 (tildify-string-alist): Entry for xml-mode added.
From Milan Zamazal <pdm@zamazal.org>.
2002-03-02 20:42:20 +00:00
Andreas Schwab
857b864af1 (texinfo-start-menu-description): Remove extra paren in regexp. 2002-03-01 16:02:42 +00:00
Pavel Janík
140d71ba78 (sgml-specials, sgml-quick-keys): Doc fixes. 2002-02-28 16:14:50 +00:00
Sam Steingold
ee803b5b6b (flyspell-mode): Autoload the variable since it is used in the menu bar. 2002-02-21 01:42:22 +00:00
Robert J. Chassell
70e2c6a475 (texinfo-insert-menu): Explain in doc string that
descriptions are indented, and that menus without
descriptions will contain trailing whitespace instead;
argue for importance of descriptions.

(texinfo-all-menus-update, texinfo-master-menu,texinfo-make-menu)
Also, note reason for indentation in doc string.
2002-02-20 17:39:38 +00:00
Eli Zaretskii
df8f2eb0c0 (bibtex-parse-keys): Put save-match-data around function body. 2002-02-19 11:21:23 +00:00
Kai Großjohann
be0d25b686 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
when repeated.
        * textmodes/paragraphs.el (mark-paragraph): Ditto.
2002-02-17 15:08:31 +00:00
Per Abrahamsen
a9c6d330d5 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
* menu-bar.el (menu-bar-showhide-menu): Added speedbar.
	(menu-bar-tools-menu): Removed speedbar.

	* textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
	and `flyspell-mode' entries.

	* textmodes/flyspell.el (flyspell): Add to ispell group.
2002-02-17 12:15:17 +00:00
Pavel Janík
bdc31f1e11 (reftex-select-label-mode)
(reftex-select-bib-mode): Do not use make-local-hook.
2002-02-16 12:57:45 +00:00
Andreas Schwab
1b741d9e27 (tex-font-lock-keywords-2): Require non-letter after specials. 2002-02-15 17:06:58 +00:00
Kai Großjohann
cad113ae34 * lisp/simple.el (mark-word): Mark more if repeated.
* lisp/textmodes/paragraphs.el (mark-paragraph): Ditto.
(mark-end-of-sentence): Ditto.
2002-02-15 08:53:15 +00:00
Richard M. Stallman
8df9f2a387 (bibtex-parse-buffers-stealthily):
Tell bibtex-parse-keys to output no progress messages.
2002-02-14 01:55:43 +00:00
Richard M. Stallman
ebda95a20c (text-mode-hook-identify): Restore previous definition.
Add to text-mode-hook again.
2002-02-14 01:31:21 +00:00
Richard M. Stallman
def08a3f3c (text-mode-hook-identify): Define as no-op. 2002-02-08 13:57:03 +00:00
Pavel Janík
1c71b9580a (flyspell-insert-function): Doc fix. 2002-02-06 22:37:12 +00:00
Richard M. Stallman
540f653db1 (text-mode-hook-identify): Function deleted.
(text-mode): Set text-mode-variant here.
2002-02-06 14:57:57 +00:00
Pavel Janík
73194d6771 (flyspell-issue-message-flag): New user option.
(flyspell-mode-on, flyspell-notify-misspell)
(flyspell-small-region, flyspell-external-point-words)
(flyspell-large-region): Use it
(flyspell-before-incorrect-word-string)
(flyspell-after-incorrect-word-string): New user options.
(make-flyspell-overlay): Use them.
(flyspell-version): New function.
(flyspell-incorrect-face, flyspell-duplicate-face): Adapt face definitions
to use :weight.
(flyspell-insert-function): New user option.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(flyspell-define-abbrev): New function.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(make-flyspell-overlay): Use `evaporate' property.
(flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
(flyspell-emacs-popup): Use `session' instead of `accept'.
(flyspell-auto-correct-previous-pos): New variable.
(flyspell-auto-correct-previous-hook)
(flyspell-auto-correct-previous-word): New functions.
2002-02-02 15:56:45 +00:00
Pavel Janík
2fced6f94d Minor formatting fixes in preparation of merging new version. 2002-01-29 13:42:12 +00:00
Richard M. Stallman
41b495aff5 (ispell-help): Clean up echo area if user quits. 2002-01-22 01:09:23 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +00:00
Pavel Janík
f30fe18bf9 (flyspell-check-pre-word-p): Prevent delaying when executing keyboard
macros.
2002-01-12 21:40:32 +00:00
Richard M. Stallman
5c2012be06 (flyspell-mode-line-string): Fix custom type. 2002-01-08 23:57:15 +00:00
Eli Zaretskii
62993ed664 (texinfo-insert-@end): Fix the change from 2001-10-24. 2002-01-04 13:10:23 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Richard M. Stallman
e04fd7a4ff (makeinfo-compilation-sentinel):
Display the output buffer in a more intelligent way.
2001-12-30 19:33:13 +00:00
Richard M. Stallman
44fc58f2da (reftex-query-replace-document, reftex-change-label): Doc fix. 2001-12-30 00:56:40 +00:00
Richard M. Stallman
d2fb04dfd3 (flyspell-mode-map): New keymap, defined as before 2001-11-09.
(add-minor-mode call): Specify the keymap.
2001-12-27 03:13:57 +00:00
Robert J. Chassell
aae61ef390 (texinfo-show-structure): Display the line showing the current location
in the middle of the window.
2001-12-25 16:16:22 +00:00
Miles Bader
f5bd4bf25b (refill-mode): Don't barf when redundantly turning refill-mode off. 2001-12-22 12:25:14 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Pavel Janík
05f362a827 (ispell-complete-word): Doc fix. 2001-12-11 07:22:44 +00:00
Richard M. Stallman
4b12215e3e (ispell-buffer-local-parsing): Match xml like sgml. 2001-12-11 06:07:52 +00:00
Richard M. Stallman
c3f9a06ab9 (set-justification): Rename arg VALUE to STYLE.
(set-justification-left, set-justification-right): Doc fix.
2001-12-07 03:34:59 +00:00
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