GNU bug report logs - #7768
24.0.50; nXML mode misindents if CDATA on a new line

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sat, 1 Jan 2011 10:22:02 UTC

Severity: minor

Tags: confirmed

Found in versions 26.1, 24.0.50

Full log


View this message in rfc822 format

From: jidanni <at> jidanni.org
To: 7768 <at> debbugs.gnu.org
Subject: bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line
Date: Sat, 01 Jan 2011 18:28:38 +0800
The last line gets misindented:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <Style id="Bridge"><IconStyle><Icon><href>http://jidanni.org/location/bridge.png</href></Icon></IconStyle></Style>
    <!--<Style id="Path"><LineStyle><color>7fff00ff</color></LineStyle></Style>-->
    <Folder>
      <name>燥坑 Zao Keng</name>
      <open>1</open>
      <description>
	<![CDATA[<a
		 href="http://jidanni.org/location/directions/zaokeng.html"
		 >燥坑至積丹尼 Zao Keng to Jidanni</a>]]></description>
	<Folder>
Note the above line is misindented.
One must use
      <description><![CDATA[<a ...
on the same line, else C-x h TAB misindets.

In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-12-14 on elegiac, modified by Debian




This bug report was last modified 6 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.