From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#8187: 24.0.50; Regression: TAB does not indent region Date: Mon, 7 Mar 2011 00:11:05 +0100 Message-ID: <20110306231105.GC19792@shi.workgroup> References: <87r5akjkok.fsf@shi.workgroup> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299454636 8605 80.91.229.12 (6 Mar 2011 23:37:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 23:37:16 +0000 (UTC) Cc: 8187@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 00:37:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PwNVf-00021C-RA for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Mar 2011 00:37:11 +0100 Original-Received: from localhost ([127.0.0.1]:41297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwNVf-0007OY-4l for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Mar 2011 18:37:11 -0500 Original-Received: from [140.186.70.92] (port=45847 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwNVR-0007N4-8S for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 18:36:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwNVQ-0007ag-0S for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 18:36:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwNVP-0007aY-UW for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 18:36:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PwN7K-0006iw-8X; Sun, 06 Mar 2011 18:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2011 23:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8187 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8187-submit@debbugs.gnu.org id=B8187.129945310425819 (code B ref 8187); Sun, 06 Mar 2011 23:12:02 +0000 Original-Received: (at 8187) by debbugs.gnu.org; 6 Mar 2011 23:11:44 +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 1PwN72-0006iO-EU for submit@debbugs.gnu.org; Sun, 06 Mar 2011 18:11:44 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PwN6z-0006iB-Mv for 8187@debbugs.gnu.org; Sun, 06 Mar 2011 18:11:42 -0500 Original-Received: (qmail invoked by alias); 06 Mar 2011 23:11:35 -0000 Original-Received: from p4FC2326F.dip.t-dialin.net (EHLO shi.workgroup) [79.194.50.111] by mail.gmx.net (mp070) with SMTP; 07 Mar 2011 00:11:35 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX1/MThIO8mXMPsPmZHbw+vHUDizEJ98rb3MDYbLsjT U1o01Fx+D3faYh Original-Received: from grfz by shi.workgroup with local (Exim 4.74) (envelope-from ) id 1PwN6j-0003qf-HP; Mon, 07 Mar 2011 00:11:25 +0100 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 06 Mar 2011 18:12:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44717 Archived-At: Hi Stefan, * Stefan Monnier [06. Mar. 2011]: >> - Set text-mode in the *scratch* buffer. (text-mode). >> - Select the first 3 lines. >> - Type > [...] >> 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 -- -... --- .-. . -.. ..--.. ...-.-