bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Rob Browning
Subject: bug#8515: M-x indent-region should skip everything between <pre>-tags.
Date: Sun, 17 Apr 2011 13:57:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

(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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]