GNU bug report logs - #8187
24.0.50; Regression: TAB does not indent region

Previous Next

Package: emacs;

Reported by: Gregor Zattler <telegraph <at> gmx.net>

Date: Sun, 6 Mar 2011 16:10:03 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Gregor Zattler <telegraph <at> gmx.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 8187 <at> debbugs.gnu.org
Subject: Re: bug#8187: 24.0.50; Regression: TAB does not indent region
Date: Mon, 7 Mar 2011 00:11:05 +0100
Hi Stefan,
* Stefan Monnier <monnier <at> iro.umontreal.ca> [06. Mar. 2011]:
>>  - Set text-mode in the *scratch* buffer. (text-mode).
>>  - Select the first 3 lines.
>>  - Type <TAB>
> [...]
>> I think, this is a regression.
> 
> Using `indent-region' in Emacs-23 in a text-mode buffer results in
> a "staircase" effect (tho it depends whether the text was originally
> indented and how), so the Emacs-24 behavior is not really a regression,
> just a different failure by deactivating a chunk of code which didn't do
> the right thing.  

O.K. I didn't see this.

> We should probably add an indent-region-function in
> text-mode which does (more or less) what you expect (probably it should
> do what TAB does on the first line and then apply the same indent step
> to all subsequent lines).

Sounds good to mee, but:

> Patches welcome,

that I'm not able to do.

Thanks, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-




This bug report was last modified 13 years and 35 days ago.

Previous Next


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