From: Noam Postavsky <npostavs@gmail.com>
To: Martin Fowler <martinfowlercom@gmail.com>
Cc: 33256@debbugs.gnu.org
Subject: bug#33256: nxml-mode completion of attribute no longer adds =" after emacs 26
Date: Wed, 03 Apr 2019 23:48:45 -0400 [thread overview]
Message-ID: <87sguye8gy.fsf@gmail.com> (raw)
In-Reply-To: <0499B553-F989-4945-9827-643FB5A72D27@gmail.com> (Martin Fowler's message of "Sun, 4 Nov 2018 09:47:48 -0500")
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...
next parent reply other threads:[~2019-04-04 3:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0499B553-F989-4945-9827-643FB5A72D27@gmail.com>
2019-04-04 3:48 ` Noam Postavsky [this message]
2019-04-04 23:38 ` bug#33256: nxml-mode completion of attribute no longer adds =" after emacs 26 Martin Fowler
2019-04-10 23:41 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sguye8gy.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=33256@debbugs.gnu.org \
--cc=martinfowlercom@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).