From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#10153: 24.0.91; behavior of TAB in text modes is different Date: Mon, 28 Nov 2011 16:13:34 +0800 Message-ID: <87d3ccr7f5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322468066 11355 80.91.229.12 (28 Nov 2011 08:14:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 08:14:26 +0000 (UTC) To: 10153@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 09:14:22 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUwM1-0002zg-IU for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 09:14:21 +0100 Original-Received: from localhost ([::1]:45407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLx-0001iH-VC for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2011 03:14:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLv-0001i9-6D for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:14:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUwLp-0004ed-MG for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:14:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLp-0004eV-IC for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:14:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RUwNe-0002du-6u for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2011 08:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10153 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132246815310141 (code B ref -1); Mon, 28 Nov 2011 08:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Nov 2011 08:15:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RUwNV-0002dW-Gz for submit@debbugs.gnu.org; Mon, 28 Nov 2011 03:15:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RUwNT-0002dQ-Oj for submit@debbugs.gnu.org; Mon, 28 Nov 2011 03:15:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUwLd-0004bg-KF for submit@debbugs.gnu.org; Mon, 28 Nov 2011 03:13:58 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:53567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLd-0004bY-IL for submit@debbugs.gnu.org; Mon, 28 Nov 2011 03:13:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLZ-0001gn-Ku for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:13:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUwLU-0004YF-2o for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:13:53 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUwLU-0004YA-1K for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:13:48 -0500 Original-Received: from [155.69.17.243] (port=45409 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RUwLT-000613-1p for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2011 03:13:47 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 28 Nov 2011 03:16:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54347 Archived-At: With latest trunk, 0. emacs -Q 1. M-x text-mode RET 2. M-< 3. C-SPC 4. M-> 5. TAB The text which was in the region remains unaltered by the TAB. In Emacs 23, a tab character is inserted in front of each line in the region, as per the manual: In text modes, TAB inserts some combination of space and tab characters to advance point to the next tab stop. If the region is active and spans multiple lines, it advances the first character of each of those lines to the next tab stop. For the purposes of this command, the position of the first non-whitespace character on the preceding line is treated as an additional tab stop. Thus, you can use TAB to "align" point with the preceding line. 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? It's certainly not documented in NEWS. In GNU Emacs 24.0.91.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) of 2011-11-28 on furball