Subject: nxml-mode completion of attribute no longer adds =" after emacs 26

From: Martin Fowler <[email-masked]>
Date: Sun, 4 Nov 2018 09:47:48 -0500

If this is the wrong list to send this to, my apologies, please let me know where to go.

I've used nxml-mode for a long time. When typing in an xml attribute and using completion, emacs would respond by completing the attribute and also adding =" to allow me to immediately type the value of the xml attribute. I recently upgraded to emacs 26, and it now only completes the attribute hame. The original completion behavior (adding =") is described in the manual at <https://www.gnu.org/software/emacs/manual/html_node/nxml-mode/Completion.html> .

To replicate

- open an html file in nxml mode
- ensure it's tied to the html schema file 
- type "<html xmln"
- trigger completion (C-M-i, or whatever calls completion-at-point)

expected behavior (pre emacs 26)

line shows:

    <html xmlns="

actual behavior, line shows

   <html xmlns

Martin Fowler
http://martinfowler.com