GNU bug report logs - #73206
28.2; xml comment with blank lines to do not indent correctly, nxml-mode.el

Previous Next

Package: emacs;

Reported by: ciolfi <at> mathworks.com

Date: Thu, 12 Sep 2024 18:04:03 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 73206-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: John Ciolfi <ciolfi <at> mathworks.com>
Cc: rpluim <at> gmail.com, 73206-done <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: Re: bug#73206: 28.2; xml comment with blank lines to do not indent
 correctly, nxml-mode.el
Date: Sat, 10 May 2025 13:12:53 +0300
> From: John Ciolfi <ciolfi <at> mathworks.com>
> CC: "rpluim <at> gmail.com" <rpluim <at> gmail.com>, "73206 <at> debbugs.gnu.org"
> 	<73206 <at> debbugs.gnu.org>
> Date: Wed, 30 Apr 2025 10:55:07 +0000
> 
> I see this bug isn't fixed in Emacs 30. Is it possible to fix? The right solution is to update
> nxml-compute-indent-in-delimited-token to contain "(while (looking-at "^[[:blank:]]*$") (forward-line -1))" to
> obtain the correct indentation level for text in xml comments when there's blank lines.

Thanks, I've now installed this on the emacs-30 branch, and I'm
closing this bug.




This bug report was last modified 11 days ago.

Previous Next


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