unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@gnu.org>, "'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 07:39:00 -0800	[thread overview]
Message-ID: <2AB87B84E3C84938A49039098CACAD95@us.oracle.com> (raw)
In-Reply-To: <87ty5n0xgo.fsf@gnu.org>

> >> 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?
> 
> The new behavior seems to make more sense, so I guess I'll
> add a NEWS item and fix the indent-region doc.

Personally, I don't use text mode that much, and I don't care, for my personal
use.  

But my guess is that there will be many Emacs users who will be confused by
this, expecting TAB to indent (if not to simply insert a TAB char).  Not because
that's what TAB did in the past in Emacs, but because that's more or less the
behavior many newbies are used to, from other text editors.

My crystal ball whispers to me that there will be lots more questions posed by
newbies, to which the answer will be "Deactivate the region or use `C-q TAB'."

I would suggest keeping TAB in text mode simple, not DWIM.






  reply	other threads:[~2011-11-29 15:39 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
2011-11-29 15:39     ` Drew Adams [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=2AB87B84E3C84938A49039098CACAD95@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=10153@debbugs.gnu.org \
    --cc=cyd@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).