GNU bug report logs - #16820
24.3; nxml comment block indentation issue

Previous Next

Package: emacs;

Reported by: Nate Eagleson <nate <at> nateeag.com>

Date: Thu, 20 Feb 2014 07:25:01 UTC

Severity: minor

Tags: confirmed

Found in version 24.3

Full log


Message #25 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Nathan Eagleson <nate <at> nateeag.com>
Cc: 16820 <at> debbugs.gnu.org
Subject: Re: bug#16820: 24.3; nxml comment block indentation issue
Date: Tue, 20 Oct 2020 16:03:00 +0000
reopen 16820
tags 16820 confirmed
thanks

Nathan Eagleson <nate <at> nateeag.com> writes:

> Sorry, I missed your original request.
>
> This seems like a bug to me because multi-paragraph comment bodies are
> usually indented to align with the comment start token.
>
> If you strip trailing whitespace on save, this behavior results in bad
> comment indentation, something like:
>
>     <!-- First line of comment is here. It may go on for
>     several lines in a format something like you'd expect.
>
> After the blank line, the comment is outdented relative to the
> comment start/end markers.
>
>     -->
>
> This is all from distant memory, so apologies if I'm describing it
> incorrectly.

Oh, right.  Yes, that indeed does seem like a bug.  Reopening.

Thanks for writing back.




This bug report was last modified 4 years and 234 days ago.

Previous Next


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