emacs/lisp/nxml
Stefan Monnier d7896a6f77 * lisp/nxml: Use standard completion; it also works for company-mode
* lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
(nxml-completion-at-point-function): Remove.
(nxml-mode): Don't set completion-at-point-functions.
* lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
(rng-completion-at-point): Rename from rng-complete and mark it
non-interactive.  It is now to be used as completion-at-point-function.
(rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
(rng-complete-attribute-value): Don't perform completion, but return
completion data instead.
(rng-complete-qname-function, rng-generate-qname-list): Add a few
arguments, previously passed via dynamic coping.
(rng-strings-to-completion-table): Rename from
rng-strings-to-completion-alist.  Don't return an alist.  Don't both
sorting and uniquifying.

* lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
(rng-completion-exact-p, rng-quote-string): Delete functions.

* lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
(rng-missing-attributes-message, rng-missing-element-message)
(rng-mark-missing-end-tags): Use explicit ".." in formats rather than
calling rng-quote-string everywhere.
2016-01-16 14:03:29 -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 standard completion; it also works for company-mode 2016-01-16 14:03:29 -05:00
nxml-ns.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
nxml-outln.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -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 Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00
nxml-util.el Update copyright year to 2016 2016-01-01 01:34:24 -08: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 * xmltok.el: Mark the "sole --" rather than the comment opener 2016-01-15 16:59:21 -05:00
xsd-regexp.el Update nXML to use Emacs's Unicode support, and lexical-binding 2016-01-15 10:29:20 -05:00