X-Loop: help-debbugs@HIDDEN
Subject: bug#57851: 27.2; wrong indent for nXML and CDATA sections
Resent-From: "Ulrich Windl" <Ulrich.Windl@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 16 Sep 2022 07:39:01 +0000
Resent-Message-ID: <handler.57851.B.166331388814084 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 57851
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 57851 <at> debbugs.gnu.org
X-Debbugs-Original-To: <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.166331388814084
(code B ref -1); Fri, 16 Sep 2022 07:39:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Sep 2022 07:38:08 +0000
Received: from localhost ([127.0.0.1]:41491 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1oZ5vM-0003f5-7g
for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 03:38:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:49014)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <Ulrich.Windl@HIDDEN>)
id 1oZ5vJ-0003ex-4M
for submit <at> debbugs.gnu.org; Fri, 16 Sep 2022 03:38:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33058)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <Ulrich.Windl@HIDDEN>)
id 1oZ5vI-0008CA-9z
for bug-gnu-emacs@HIDDEN; Fri, 16 Sep 2022 03:38:04 -0400
Received: from mx1.uni-regensburg.de ([2001:638:a05:137:165:0:3:bdf7]:57720)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <Ulrich.Windl@HIDDEN>)
id 1oZ5vF-00024p-UM
for bug-gnu-emacs@HIDDEN; Fri, 16 Sep 2022 03:38:04 -0400
Received: from mx1.uni-regensburg.de (localhost [127.0.0.1])
by localhost (Postfix) with SMTP id 7D1A36000050
for <bug-gnu-emacs@HIDDEN>; Fri, 16 Sep 2022 09:37:56 +0200 (CEST)
Received: from gwsmtp.uni-regensburg.de (gwsmtp1.uni-regensburg.de
[132.199.5.51])
by mx1.uni-regensburg.de (Postfix) with ESMTP id 1195E600004D
for <bug-gnu-emacs@HIDDEN>; Fri, 16 Sep 2022 09:37:55 +0200 (CEST)
Received: from uni-regensburg-smtp1-MTA by gwsmtp.uni-regensburg.de
with Novell_GroupWise; Fri, 16 Sep 2022 09:37:56 +0200
Message-Id: <632427D1020000A10004DD71@HIDDEN>
X-Mailer: Novell GroupWise Internet Agent 18.4.1
Date: Fri, 16 Sep 2022 09:37:53 +0200
From: "Ulrich Windl" <Ulrich.Windl@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Received-SPF: pass client-ip=2001:638:a05:137:165:0:3:bdf7;
envelope-from=Ulrich.Windl@HIDDEN; helo=mx1.uni-regensburg.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)
From: Ulrich Windl <Ulrich.Windl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.2; wrong indent for nXML and CDATA sections
Date: Fri, 16 Sep 2022 09:35:59 +0200
Message-ID: <877d2393fk.fsf@>
--text follows this line--
When indenting https://github.com/sjvudp/draft-ntp-ntpv5, I noticed that
the CDATA sections were indented, too.
I think that's not correct:
Before:
<artwork><![CDATA[
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
...
After:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
...
In GNU Emacs 27.2 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.31, =
cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12003000
System Description: openSUSE Leap 15.4
Recent messages:
No library nxml-mode.el in search path
Type C-x 1 to delete the help window, C-M-v to scroll help.
Mark saved where search started
Composing main Info directory...done
Mark saved where search started
next-line: End of buffer [2 times]
GNU Emacs 27.2 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.31, =
cairo version 1.16.0)
Making completion list...
delete-backward-char: Text is read-only [2 times]
Making completion list... [2 times]
Configured using:
'configure --disable-build-details --with-pop --without-hesiod
--with-gameuser=3D:games --with-kerberos --with-kerberos5
--with-file-notification=3Dinotify --with-modules --enable-autodepend
--prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info
--datadir=3D/usr/share --localstatedir=3D/var --sharedstatedir=3D/var/lib
--libexecdir=3D/usr/lib
--enable-locallisppath=3D/usr/share/emacs/27.2/site-lisp:/usr/share/emacs/=
site-lisp
--with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff
--with-gif --with-png --with-rsvg --with-dbus --with-xft --without-gpm
--with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars
--x-includes=3D/usr/include --x-libraries=3D/usr/lib64 --with-libotf
--with-m17n-flt --with-cairo --with-xwidgets --build=3Dx86_64-suse-linux
--with-dumping=3Dpdumper 'CFLAGS=3D-fmessage-length=3D0 -grecord-gcc-switc=
hes
-O2 -Wall -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g -D_GNU_SOURCE
-DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS
-pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label
-fno-optimize-sibling-calls -fno-PIE -DSYSTEM_PURESIZE_EXTRA=3D55000
-DSITELOAD_PURESIZE_EXTRA=3D10000 -DPDMP_BASE=3D'\''"emacs-gtk"'\'''
'LDFLAGS=3D-Wl,-no-pie -Wl,-O2''
Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD JSON PDUMPER LCMS2 GMP
Important settings:
value of $LC_NUMERIC: POSIX
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=3Dibus
locale-coding-system: utf-8-unix
Major mode: Info
Minor modes in effect:
show-paren-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr warnings emacsbug message rmc puny format-spec
rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils mule-util jka-compr
info cl-extra help-fns radix-tree help-mode time-date subr-x dired-aux
dired dired-loaddefs misearch multi-isearch vc-git diff-mode rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu
nxml-mode nxml-outln nxml-rap sgml-mode seq byte-opt gv bytecomp
byte-compile cconv dom cl-loaddefs cl-lib nxml-util nxml-enc xmltok
xfonts rmailgen paren ispell delsel lpr easy-mmode pcase tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting xwidget-internal cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 123588 10376)
(symbols 48 9050 1)
(strings 32 28669 2052)
(string-bytes 1 979549)
(vectors 16 15999)
(vector-slots 8 223002 14164)
(floats 8 58 246)
(intervals 56 12125 1573)
(buffers 1000 21))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Ulrich Windl" <Ulrich.Windl@HIDDEN> Subject: bug#57851: Acknowledgement (27.2; wrong indent for nXML and CDATA sections) Message-ID: <handler.57851.B.166331388814084.ack <at> debbugs.gnu.org> References: <632427D1020000A10004DD71@HIDDEN> X-Gnu-PR-Message: ack 57851 X-Gnu-PR-Package: emacs Reply-To: 57851 <at> debbugs.gnu.org Date: Fri, 16 Sep 2022 07:39:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 57851 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 57851: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57851 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 13 Oct 2022 13:48:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 13 09:48:31 2022 Received: from localhost ([127.0.0.1]:60112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oiyZb-0005Md-3B for submit <at> debbugs.gnu.org; Thu, 13 Oct 2022 09:48:31 -0400 Received: from mail-ot1-f45.google.com ([209.85.210.45]:38550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1oiyZR-0005LJ-Ur for control <at> debbugs.gnu.org; Thu, 13 Oct 2022 09:48:22 -0400 Received: by mail-ot1-f45.google.com with SMTP id z11-20020a05683020cb00b00661a95cf920so64997otq.5 for <control <at> debbugs.gnu.org>; Thu, 13 Oct 2022 06:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=+eNbylEQjXVmCuCZGDiOHVLSiAkRcZ/z70XKQkiHJCU=; b=h367rtxN1FBp5UVnmGesDg0p/Uq3XZLX4cVLAcIxsi36az0RFZkIefcB/V7F0c7v9l NxmJiEvM/aZ5nj2HiUfFEyM/2SZib2Hci5fOtZgktAMQQAo/gADPsXpyGpBdt0R1f9gY TFNdNzj98F1/GoF5WXNAd60rZ8eQUaKLHHpGzwjZ6gpOjlq8SNr8gCqaBdNz2seC8ms/ pbPmimO5x1sGDJyXsljN9VSDM/v1MDLKBnnAwcyF2s8dBMKQ1vMYLpdx01qNbcfoYAGj 9Q6CGix/FUzFSy7273fctHrgbbPlVJUzsMq2fufIsWeJ/ndQb8wci5aEHrH1m6SMLlSE WMhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+eNbylEQjXVmCuCZGDiOHVLSiAkRcZ/z70XKQkiHJCU=; b=EUBbJGhJCnhDnSyTfa7OYO331by9EMC5GKqahW0DXWGRKwrDVtWOjzPobPhHmHlAwS fs7QgFjI65v8oRmoT5V2Gm4T5XSEiZoXO0PziAAsX/ulo/AeTwKg7lZgdxYGmBDFtASX H29In5PV95T2hLlRDaRohL9fflHaonrUzeiAavwMOseY58wkWigYGcMheEH9+TbzLGiA lAAnsfke63kUIDKCjrfnPKPNaL2VhM3x899IHkVQUZLfpiil+h7So8X9+qqWqaa6dIlC II00lphtN07PAIaOWslEUx3HQrr6P+xVyTWRAbOZTWtfi4xwhxjcmA04CcKsKCxfs487 /WbQ== X-Gm-Message-State: ACrzQf0U8a4gUM11qW5+0fyPYvEIcwwmwGQ05kOQow6qxWxNtso02HH9 TCeEA6ZXxQCKhkkdwFy6E99FmXSveQ3F3vq6jBcx/q+R X-Google-Smtp-Source: AMsMyM6JyvRPHlE1SqsqxBaqCDct80obrDrqJJrDGWBPYwlLeGALzKzLIYbe9K4YXqA+ssxmJyuBKYXwveaPjb9qcmE= X-Received: by 2002:a9d:4003:0:b0:661:b434:7e95 with SMTP id m3-20020a9d4003000000b00661b4347e95mr43315ote.224.1665668896633; Thu, 13 Oct 2022 06:48:16 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Oct 2022 15:48:16 +0200 From: Stefan Kangas <stefankangas@HIDDEN> X-Hashcash: 1:20:221013:control <at> debbugs.gnu.org::rGVmzEuQFwjPOvWz:33hK MIME-Version: 1.0 Date: Thu, 13 Oct 2022 15:48:16 +0200 Message-ID: <CADwFkmkswEqCUww+-j1Bn1VXhf=VNFV9LTEGBtX9D6LapA_5vQ@HIDDEN> Subject: control message for bug #57851 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) severity 57851 minor quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.