GNU bug report logs - #8515
M-x indent-region should skip everything between <pre>-tags.

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Sun, 17 Apr 2011 18:58:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Rob Browning <rlb <at> defaultvalue.org>
To: 8515 <at> debbugs.gnu.org
Cc: 448563-forwarded <at> bugs.debian.org, Juhapekka Tolvanen <juhtolv <at> iki.fi>
Subject: bug#8515: M-x indent-region should skip everything between <pre>-tags.
Date: Sun, 17 Apr 2011 13:57:48 -0500
(If possible, please preserve the 448563-forwarded address in any replies.)

The following bug report (or perhaps feature request) was filed with the
Debian tracker, and I wanted to ask your opinion about the issue.

Thanks

Juhapekka Tolvanen writes:

> You reproduce this bug this way:

> 1) Download this HTML-file:

> http://iki.fi/juhtolv/mswordmail.html

> or this:

> http://iki.fi/juhtolv/pelle.html

> 2) Open it with GNU Emacs. nXML-mode should be the major mode.

> 3) Check out, how text between <pre> -tags is not indented.

> 4) Paint whole buffer with key: Ctrl-x h

> 5) Give line-command called indent-region.

> 6) See, how everything between <pre> -tags became indented although it
> is not supposed to.

> Maybe this should be configurable option. Normal Tab-key pressing
> in the beginning of some line between <pre>-tags should cause some kind
> of indentation according to Tabs-vs-Spaces-settings.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




This bug report was last modified 14 years and 59 days ago.

Previous Next


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