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

To reply to this bug, email your comments to 7768 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7768; Package emacs. (Sat, 01 Jan 2011 10:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 Jan 2011 10:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#7768; Package emacs. (Fri, 04 Mar 2016 15:35:20 GMT) Full text and rfc822 format available.

Message #8 received at 7768 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 7768 <at> debbugs.gnu.org
Subject: Re: bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line
Date: Fri, 04 Mar 2016 14:46:45 +0000
jidanni <at> jidanni.org writes:

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

I can confirm that this bug is still present in Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 04 Mar 2016 15:35:21 GMT) Full text and rfc822 format available.

bug Marked as found in versions 26.1. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 22 Sep 2018 01:20:02 GMT) Full text and rfc822 format available.

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

Previous Next


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