all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 10153@debbugs.gnu.org
Subject: bug#10153: 24.0.91; behavior of TAB in text modes is different
Date: Tue, 29 Nov 2011 23:17:43 +0800	[thread overview]
Message-ID: <87ty5n0xgo.fsf@gnu.org> (raw)
In-Reply-To: <hksjl8roux.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 28 Nov 2011 15:09:10 -0500")

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	other threads:[~2011-11-29 15:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28  8:13 bug#10153: 24.0.91; behavior of TAB in text modes is different Chong Yidong
2011-11-28 20:09 ` Glenn Morris
2011-11-29 15:17   ` Chong Yidong [this message]
2011-11-29 15:39     ` Drew Adams
2011-11-29 20:15       ` Lennart Borgman
2011-11-29 21:56         ` Drew Adams
2011-11-29 21:59           ` Lennart Borgman
2011-11-29 22:18             ` Drew Adams
2011-11-29 22:22               ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty5n0xgo.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=10153@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.