1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
Stefan Monnier
9bbceb74b4 (sgml-font-lock-keywords-1): Fix pathological O(n^2) regexp-search by
anchoring the search.
2006-12-04 08:08:06 +00:00
Roland Winkler
aa18ec07ff (sgml-transformation): Make this the alias for the following variable.
(sgml-transformation-function): Make this the real name.
(sgml-tag-alist): Mark as risky.
2006-05-21 22:19:59 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Juri Linkov
3d6ce9c2a7 Add `coding: iso-2022-7bit' cookie.
(html-mode): Set `sentence-end-base' instead of `sentence-end'.
2006-01-17 00:53:03 +00:00
Juri Linkov
8ec3bce045 Add :link (custom-group-link font-lock-faces) to defgroup. 2005-11-17 07:40:11 +00:00
Romain Francoise
a24c45d2bd * progmodes/compile.el (compilation-start): Add autoload cookie.
* progmodes/antlr-mode.el: Don't autoload `compilation-start'.
* textmodes/sgml-mode.el: Likewise.
* progmodes/python.el: Likewise.
2005-08-27 14:38:22 +00:00
Romain Francoise
27024d2fd1 (sgml-validate): Use `compilation-start'
instead of the obsolete `compile-internal'.
2005-08-26 10:02:03 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Juanma Barranquero
fae1a90631 (sgml): Finish `defgroup' description with period.
(html-imenu-index, sgml-attributes, sgml-auto-attributes): "?\ " -> "?\s".
2005-07-04 03:37:24 +00:00
Juanma Barranquero
98d9090497 (sgml-calculate-indent, html-tag-help): Fix spellings. 2005-06-16 16:23:46 +00:00
Miles Bader
b390eb09fc Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-390
Remove "-face" suffix from sgml-namespace face

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/sgml-mode.el (sgml-namespace): Remove "-face" suffix
   from face name.
   (sgml-namespace-face): New backward-compatibility alias for
   renamed face.
   (sgml-namespace-face): Use renamed sgml-namespace face.
2005-06-10 10:45:17 +00:00
Lute Kamstra
dc11bf767a (sgml-namespace-face): Specify customization group. 2005-05-27 12:38:19 +00:00
Luc Teirlinck
73cba75d19 (html-mode): Doc update. 2005-03-27 03:34:12 +00:00
Juri Linkov
af3abed126 (sgml-tag, html-tag-alist)
(html-horizontal-rule, html-line, html-image, html-checkboxes)
(html-radio-buttons): Add a space before the trailing `/>' where
sgml-xml-mode is non-nil.
(sgml-delete-tag): Check if the tag ends with `/>' to not delete
the subsequent tag of the empty XML tag.
(html-href-anchor): Don't set initial input to "http:".
(html-image): Ask for the image URL and set point inside alt="".
(html-name-anchor): Duplicate the name in the `id' attribute when
sgml-xml-mode is non-nil.
(html-paragraph): Remove \n before <p>.
(html-checkboxes, html-radio-buttons): Insert `checked="checked"'
instead of `checked' when sgml-xml-mode is non-nil.
2005-03-08 21:45:00 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Stefan Monnier
ed8031f295 (sgml-fill-nobreak): New fun.
(sgml-mode): Use it.
(sgml-get-context): Better keep track of implicitly closed tags.
2005-01-13 14:51:57 +00:00
Stefan Monnier
e9146d5acc (sgml-tag-text-p): New fun.
(sgml-parse-tag-backward): Use it to skip spurious < or >.
2004-11-10 14:39:40 +00:00
Daniel Pfeiffer
4456f9649b (sgml-mode): Fix imenu-generic-expression and add "Id" and "Name" submenus to it. 2004-10-26 21:38:57 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
7461dcb0fd (xml-mode): Add autoload cookie. 2003-07-07 20:50:15 +00:00
Stefan Monnier
59444a9ccc (sgml-parse-tag-backward): Try and detect
when we're starting from within a tag.
(sgml-get-context): When called from inside a tag, do something useful.
Rename the arg now that it's never used for `full' context anymore.
(sgml-calculate-indent): Make `lcon' an argument.
Return nil when we don't know what to do.
If the initial lcon turns out to be wrong, try again.
(sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2003-06-05 01:14:23 +00:00
Stefan Monnier
b00453052c (sgml-namespace-re): New const.
(sgml-namespace-face): New face.
(sgml-font-lock-keywords-1): Use them.
2003-05-12 15:46:02 +00:00
Andreas Schwab
13b454db2d (sgml-font-lock-keywords-2): Add flag to merge with existing fontification. 2003-01-11 22:47:33 +00:00
Markus Rost
966cdb2209 (html-autoview-mode): Add group. 2002-11-18 04:32:11 +00:00
Stefan Monnier
4e7a42d2f5 (sgml-namify-char): New cmd.
(sgml-name-char): Use it.
(sgml-tag-last, sgml-tag-history): New vars.
(sgml-tag): Use them.
(sgml-skip-tag-forward): Use sgml-tag-syntax-table.
(sgml-delete-tag): Remove resulting empty lines.
(sgml-tag): Don't make intangible.
(sgml-parse-tag-backward): Add limit argument.
(html-autoview-mode): Use define-minor-mode.
2002-11-12 16:46:19 +00:00
Stefan Monnier
65b3448598 (sgml-skip-tag-backward, sgml-skip-tag-forward):
Deal with xml-style <foo/> empty tags.
2002-11-01 17:41:41 +00:00
Juanma Barranquero
a9d4efa239 (sgml-close-tag, html-imenu-index): Fix typo. 2002-10-18 08:30:49 +00:00
Mike Williams
1c8438abac (sgml-guess-indent): Handle tabs correctly. 2002-09-29 06:00:18 +00:00
Stefan Monnier
7492ed8e8d (sgml-quote): Use narrowing. Improve the regexp used when unquoting.
(sgml-pretty-print): New function.
(sgml-get-context): Better handling of improperly nested tags.
(sgml-show-context): Don't use the FULL arg of sgml-get-context.
2002-07-13 19:23:05 +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
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
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
Mike Williams
2871b07a89 (sgml-guess-indent): New function. 2002-04-11 21:59:45 +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
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
9c59951810 (sgml-mode): Set indent-line-function to sgml-indent-line. 2002-04-01 12:43:47 +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
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