GNU bug report logs - #7467
Could nxml-mode avoid reindenting <pre>...</pre>?

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 22 Nov 2010 17:43:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: Lennart Borgman <lennart.borgman <at> gmail.com>, 7467 <at> debbugs.gnu.org
Subject: Re: bug#7467: Could nxml-mode avoid reindenting <pre>...</pre>?
Date: Sun, 18 Jul 2021 14:23:22 +0200
Jason Rumney <jasonr <at> gnu.org> writes:

> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>
>> Since the content in <pre>...</pre> is preformatted it would be good
>> if nxml-mode did not reformat it during indentation.
>
> XML attaches no such semantic meaning to tags.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Yeah, I think it'd be wrong for nxml-mode to do anything special with
<pre>.  html-mode, on the other hand, should respect <pre>, and there a
separate bug report for that.

So I'm closing this bug report.

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




This bug report was last modified 3 years and 359 days ago.

Previous Next


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