bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33256: nxml-mode completion of attribute no longer adds =" after ema


From: Noam Postavsky
Subject: bug#33256: nxml-mode completion of attribute no longer adds =" after emacs 26
Date: Wed, 03 Apr 2019 23:48:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

tags 33256 + unreproducible
quit

Martin Fowler <martinfowlercom@gmail.com> writes:

> 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

I can't reproduce this exactly, with 26.1 and later I get

     <html xmlns="-!-"

(where -!- represents point).  While the doc does say there should only
be an opening quote added, this is arguably an improvement, so...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]