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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: jidanni@HIDDEN; Keywords: confirmed; dated Sat, 1 Jan 2011 10:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 26.1. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 7768 <at> debbugs.gnu.org:


Received: (at 7768) by debbugs.gnu.org; 4 Mar 2016 15:35:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 04 10:35:07 2016
Received: from localhost ([127.0.0.1]:33780 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1abrkx-0000KT-Hr
	for submit <at> debbugs.gnu.org; Fri, 04 Mar 2016 10:35:07 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:47458)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1abrkr-0000He-QV
 for 7768 <at> debbugs.gnu.org; Fri, 04 Mar 2016 10:35:02 -0500
Received: from 2.150.35.31.tmi.telenormobil.no ([2.150.35.31] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1abrjy-0004TM-Iw; Fri, 04 Mar 2016 16:34:06 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: jidanni@HIDDEN
Subject: Re: bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line
In-Reply-To: <877heovrxl.fsf@HIDDEN> (jidanni's message of "Sat, 01 Jan
 2011 18:28:38 +0800")
Date: Fri, 04 Mar 2016 14:46:45 +0000
Message-ID: <874mcmi9m2.fsf@HIDDEN>
References: <877heovrxl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=shift_jis
Content-Transfer-Encoding: quoted-printable
X-MailScanner-ID: 1abrjy-0004TM-Iw
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1457710454.8376@nGF94vTTQC+trmX87OBYYw
X-Spam-Status: No
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 7768
Cc: 7768 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

jidanni@HIDDEN writes:

> The last line gets misindented:
>
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <kml xmlns=3D"http://www.opengis.net/kml/2.2">
>   <Document>
>     <Style id=3D"Bridge"><IconStyle><Icon><href>http://jidanni.org/locati=
on/bridge.png</href></Icon></IconStyle></Style>
>     <!--<Style id=3D"Path"><LineStyle><color>7fff00ff</color></LineStyle>=
</Style>-->
>     <Folder>
>       <name>=91=87=8DB Zao Keng</name>
>       <open>1</open>
>       <description>
> 	<![CDATA[<a
> 		 href=3D"http://jidanni.org/location/directions/zaokeng.html"
> 		 >=91=87=8DB=8E=8A=90=CF=92O=93=F2 Zao Keng to Jidanni</a>]]></descript=
ion>
> 	<Folder>

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

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#7768; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Jan 2011 10:21:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 01 05:21:51 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PYyat-0000Ib-7T
	for submit <at> debbugs.gnu.org; Sat, 01 Jan 2011 05:21:51 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jidanni@HIDDEN>) id 1PYyaq-0000IP-L4
	for submit <at> debbugs.gnu.org; Sat, 01 Jan 2011 05:21:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jidanni@HIDDEN>) id 1PYyhc-0004D0-KD
	for submit <at> debbugs.gnu.org; Sat, 01 Jan 2011 05:28:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 
	T_DKIM_INVALID autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:60889)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jidanni@HIDDEN>) id 1PYyhc-0004Cw-I7
	for submit <at> debbugs.gnu.org; Sat, 01 Jan 2011 05:28:48 -0500
Received: from [140.186.70.92] (port=45153 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PYyhb-0000vg-Hd
	for bug-gnu-emacs@HIDDEN; Sat, 01 Jan 2011 05:28:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jidanni@HIDDEN>) id 1PYyha-0004Cb-Dl
	for bug-gnu-emacs@HIDDEN; Sat, 01 Jan 2011 05:28:47 -0500
Received: from mailbigip.dreamhost.com ([208.97.132.5]:36042
	helo=homiemail-a61.g.dreamhost.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jidanni@HIDDEN>) id 1PYyha-0004CP-6u
	for bug-gnu-emacs@HIDDEN; Sat, 01 Jan 2011 05:28:46 -0500
Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 60F9F578069
	for <bug-gnu-emacs@HIDDEN>; Sat,  1 Jan 2011 02:28:41 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject
	:date:message-id:mime-version:content-type:
	content-transfer-encoding; q=dns; s=jidanni.org; b=dNoEdUi72b9qA
	Abv6P3TsWtcpg6/21ekXMJUX4TR59WEnvRfxfDJIkQK4SyNMYRyEpGIM1GF6k6SS
	IxLoo3cPHUysqUCr9whSY0acICnKU1xoGJ6PY4yt4DjYPbMdYnuHiMX/wOJ4X1vP
	3udV+iqg81dJX5LIXNOJB7RH1WX0mI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
	:subject:date:message-id:mime-version:content-type:
	content-transfer-encoding; s=jidanni.org; bh=Qqu2oM23gYQvbI6s70t
	komSn9MU=; b=SfMHInbTrHXsWjMmKJkMC9GLRo4I7CoYeNBm2anCnoMp+L69QcZ
	dU8t1Q3ZsAS1ZsLqrZcDGXjWctOlIXwW+y5Qblr/4yX2A7AZGfOacL39UZdvvHdV
	w+kHY5IQC4/pD9/2EkBLxoYdpzKUZ0mDMjQY1n5e8aaJEFQ3m+VGUWf4=
Received: from jidanni.org (218-163-5-85.dynamic.hinet.net [218.163.5.85])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: jidanni@HIDDEN)
	by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id EDFBC578059
	for <bug-gnu-emacs@HIDDEN>; Sat,  1 Jan 2011 02:28:40 -0800 (PST)
From: jidanni@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.50; nXML mode misindents if CDATA on a new line
Date: Sat, 01 Jan 2011 18:28:38 +0800
Message-ID: <877heovrxl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -5.4 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.4 (-----)

The last line gets misindented:

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<kml xmlns=3D"http://www.opengis.net/kml/2.2">
  <Document>
    <Style id=3D"Bridge"><IconStyle><Icon><href>http://jidanni.org/locati=
on/bridge.png</href></Icon></IconStyle></Style>
    <!--<Style id=3D"Path"><LineStyle><color>7fff00ff</color></LineStyle>=
</Style>-->
    <Folder>
      <name>=E7=87=A5=E5=9D=91 Zao Keng</name>
      <open>1</open>
      <description>
	<![CDATA[<a
		 href=3D"http://jidanni.org/location/directions/zaokeng.html"
		 >=E7=87=A5=E5=9D=91=E8=87=B3=E7=A9=8D=E4=B8=B9=E5=B0=BC Zao Keng to Ji=
danni</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




Acknowledgement sent to jidanni@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7768; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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