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

1154 Commits

Author SHA1 Message Date
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