unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line
@ 2011-01-01 10:28 jidanni
  2016-03-04 14:46 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2011-01-01 10:28 UTC (permalink / raw)
  To: 7768

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





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

* bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line
  2011-01-01 10:28 bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line jidanni
@ 2016-03-04 14:46 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-03-04 14:46 UTC (permalink / raw)
  To: jidanni; +Cc: 7768

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





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

end of thread, other threads:[~2016-03-04 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-01 10:28 bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line jidanni
2016-03-04 14:46 ` Lars Ingebrigtsen

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