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

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

bug#10153: 24.0.91; behavior of TAB in text modes is different


From: Chong Yidong
Subject: bug#10153: 24.0.91; behavior of TAB in text modes is different
Date: Tue, 29 Nov 2011 23:17:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

>> It appears that when the region is active, TAB in text mode now tries to
>> indent to the previous line, i.e. it behaves like TAB in programming
>> modes.  Is this is a new intended feature?
>
> I don't know. In Emacs 23, indent-region calls indent-line-function,
> which is indent-relative in text mode.
>
> In the current trunk, indent-region calls indent-according-to-mode
> (since 2010-09-18), which specifically ignores indent-relative in favour
> of an ad hoc indentation.
>
> (Also the doc of indent-region does not seem to have been updated for
> this change.)

The new behavior seems to make more sense, so I guess I'll add a NEWS
item and fix the indent-region doc.





reply via email to

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