unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20001: Wrong commenting of comments in nXML mode
@ 2015-03-04 14:55 Paul Pogonyshev
  2015-09-24  0:02 ` bug#20001: close bugs 6267 and 20001 Ivan Andrus
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2015-03-04 14:55 UTC (permalink / raw)
  To: 20001

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20001: close bugs 6267 and 20001
  2015-03-04 14:55 bug#20001: Wrong commenting of comments in nXML mode Paul Pogonyshev
@ 2015-09-24  0:02 ` Ivan Andrus
  0 siblings, 0 replies; 2+ messages in thread
From: Ivan Andrus @ 2015-09-24  0:02 UTC (permalink / raw)
  To: 20001, 6267

close 6267 25.1
close 20001 25.1





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-24  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 14:55 bug#20001: Wrong commenting of comments in nXML mode Paul Pogonyshev
2015-09-24  0:02 ` bug#20001: close bugs 6267 and 20001 Ivan Andrus

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).