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 #11 received at 7467 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: 7467 <at> debbugs.gnu.org
Subject: Re: bug#7467: Could nxml-mode avoid reindenting <pre>...</pre>?
Date: Tue, 23 Nov 2010 00:08:06 +0100
On Mon, Nov 22, 2010 at 11:57 PM, Jason Rumney <jasonr <at> gnu.org> wrote:
> 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.
>
> Maybe it would be useful for nxml-mode to have a more general way for
> the user to specify not to indent within a block denoted by a
> tag.

Yes, it should probably be more general to allow for specific handling
of certain tags in certain DTD:s, for example <pre> in XHTML.




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.