From: Paul Pogonyshev <pogonyshev@gmail.com>
To: 20001@debbugs.gnu.org
Subject: bug#20001: Wrong commenting of comments in nXML mode
Date: Wed, 4 Mar 2015 15:55:48 +0100 [thread overview]
Message-ID: <CAG7BpaoOGA0AibEXZADLEfevduZ71g1=prNVjHecDYAWcmRejg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
$ emacs -q
Create an XML buffer with the following:
<foo>
<!-- comment -->
</foo>
Now C-x h M-; to comment out everything. Text becomes this:
<!-- <foo> -->
<!-- <\!-- comment -\-> -->
<!-- </foo> -->
which is not valid XML. This is even suggested by the mode itself. "<\!--"
should be "<!-\-" instead. Uncommenting should also take that into account.
Version: GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
3.10.9) of 2015-03-03
Paul
[-- Attachment #2: Type: text/html, Size: 677 bytes --]
next reply other threads:[~2015-03-04 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 14:55 Paul Pogonyshev [this message]
2015-09-24 0:02 ` bug#20001: close bugs 6267 and 20001 Ivan Andrus
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='CAG7BpaoOGA0AibEXZADLEfevduZ71g1=prNVjHecDYAWcmRejg@mail.gmail.com' \
--to=pogonyshev@gmail.com \
--cc=20001@debbugs.gnu.org \
/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).