[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57851: 27.2; wrong indent for nXML and CDATA sections
From: |
Ulrich Windl |
Subject: |
bug#57851: 27.2; wrong indent for nXML and CDATA sections |
Date: |
Fri, 16 Sep 2022 09:37:53 +0200 |
From: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
To: bug-gnu-emacs@gnu.org
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=:games --with-kerberos --with-kerberos5
--with-file-notification=inotify --with-modules --enable-autodepend
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib
--libexecdir=/usr/lib
--enable-locallisppath=/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=gtk3 --with-toolkit-scroll-bars
--x-includes=/usr/include --x-libraries=/usr/lib64 --with-libotf
--with-m17n-flt --with-cairo --with-xwidgets --build=x86_64-suse-linux
--with-dumping=pdumper 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches
-O2 -Wall -D_FORTIFY_SOURCE=2 -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=55000
-DSITELOAD_PURESIZE_EXTRA=10000 -DPDMP_BASE='\''"emacs-gtk"'\'''
'LDFLAGS=-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=ibus
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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#57851: 27.2; wrong indent for nXML and CDATA sections,
Ulrich Windl <=