all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* nxml-mode: commenting regions with comments
@ 2012-08-16 13:30 Karl Eichwalder
  0 siblings, 0 replies; only message in thread
From: Karl Eichwalder @ 2012-08-16 13:30 UTC (permalink / raw
  To: emacs-devel

comment-region fails to "escape" xml comments properly (Emacs 24.1).
For example, if you want to comment "<!-- foo -->", instead of

    <!-- <\!-- foo -\-> -->
         ^^^^^

insert the "escaping" backslash in the comment-open part between the
dashes:

    <!-- <!-\- foo -\-> -->
         ^^^^^

This is needed because "--" is not allowed in comments (because that
actually ends a comment).

-- 
Karl Eichwalder



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-16 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 13:30 nxml-mode: commenting regions with comments Karl Eichwalder

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.