1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
emacs/lisp/nxml
Stefan Monnier 56e1097584 lisp/nxml: Use syntax-tables for comments
* lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
(nxml-mode): Set syntax-ppss-table.
Use sgml-syntax-propertize-function for syntax-propertize-function.
Let font-lock highlight strings and comments.
(nxml-degrade): Don't touch "nxml-inside" property any more.
(nxml-after-change, nxml-after-change1): Remove functions.
(comment): Don't set fontify rule any more.
(nxml-fontify-attribute): Don't highlight the value any more.
(nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
(nxml-comment-delimiter, nxml-comment-content): Remove faces.

* lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
(nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
(nxml-clear-inside, nxml-set-inside): Remove.
(nxml-scan-after-change): Remove function.
(nxml-scan-prolog, nxml-tokenize-forward): Simplify.
(nxml-ensure-scan-up-to-date): Use syntax-propertize.
(nxml-move-outside-backwards):
* lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
nxml-inside-start behavior.

* lisp/nxml/nxml-util.el (nxml-debug-set-inside)
(nxml-debug-clear-inside): Remove macros.

* lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
(xmltok-scan-after-comment-open): Simplify.
2016-01-16 15:03:42 -05:00
..
nxml-enc.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
nxml-maint.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
nxml-mode.el lisp/nxml: Use syntax-tables for comments 2016-01-16 15:03:42 -05:00
nxml-ns.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
nxml-outln.el lisp/nxml: Use syntax-tables for comments 2016-01-16 15:03:42 -05:00
nxml-parse.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
nxml-rap.el lisp/nxml: Use syntax-tables for comments 2016-01-16 15:03:42 -05:00
nxml-util.el lisp/nxml: Use syntax-tables for comments 2016-01-16 15:03:42 -05:00
rng-cmpct.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-dt.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-loc.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-maint.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-match.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-nxml.el * lisp/nxml: Use standard completion; it also works for company-mode 2016-01-16 14:03:29 -05:00
rng-parse.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-pttrn.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-uri.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
rng-util.el * lisp/nxml: Use standard completion; it also works for company-mode 2016-01-16 14:03:29 -05:00
rng-valid.el * lisp/nxml: Use standard completion; it also works for company-mode 2016-01-16 14:03:29 -05:00
rng-xsd.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
xmltok.el lisp/nxml: Use syntax-tables for comments 2016-01-16 15:03:42 -05:00
xsd-regexp.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00