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#5649: 23.1.92; Indentation problems in C mode Date: Fri, 26 Feb 2010 19:12:06 -0500 Message-ID: <87d3zredux.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267230225 9001 80.91.229.12 (27 Feb 2010 00:23:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 00:23:45 +0000 (UTC) Cc: 5649@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 01:23:41 2010 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 1NlAT6-0004uU-LY for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 01:23:41 +0100 Original-Received: from localhost ([127.0.0.1]:51361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlAT6-00078e-3M for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2010 19:23:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlASq-00074C-9x for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:24 -0500 Original-Received: from [140.186.70.92] (port=46470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlASp-000742-IQ for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlASn-0004lt-HW for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlASn-0004lp-FA for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2010 19:23:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NlAIn-0007hL-S8; Fri, 26 Feb 2010 19:13:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2010 00:13:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5649 X-Emacs-PR-Package: emacs,cc-mode X-Emacs-PR-Keywords: Original-Received: via spool by 5649-submit@debbugs.gnu.org id=B5649.126722953529566 (code B ref 5649); Sat, 27 Feb 2010 00:13:01 +0000 Original-Received: (at 5649) by debbugs.gnu.org; 27 Feb 2010 00:12:15 +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 1NlAI2-0007go-Ie for submit@debbugs.gnu.org; Fri, 26 Feb 2010 19:12:14 -0500 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlAHz-0007gi-9S for 5649@debbugs.gnu.org; Fri, 26 Feb 2010 19:12:13 -0500 Original-Received: from furry (dhcp128036014008.central.yale.edu [128.36.14.8]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1R0C6RC004377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Feb 2010 19:12:06 -0500 Original-Received: by furry (Postfix, from userid 1000) id 522C3C05D; Fri, 26 Feb 2010 19:12:06 -0500 (EST) In-Reply-To: (Michael Welsh Duggan's message of "Thu, 25 Feb 2010 11:11:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 26 Feb 2010 19:13:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:35340 Archived-At: Michael Welsh Duggan writes: > I'm getting some screwy indentation behavior from C mode. From a > current bzr checkout/install of emacs, try the following recipe: > > emacs -Q foo.c | starts emacs on foo.c (included below) > C-u 7 C-n | move down 7 lines > TAB | indent, nothing changes (good) > C-p C-p | move up 2 lines > TAB C-n TAB C-n | indent 2 lines, nothing changes (good) > TAB | line unindents by 2 (bad) > TAB | line re-indents (good, but strange) > TAB | no change this time Thanks. This is a regression vs Emacs 23.1, so we should definitely fix it before releasing Emacs 23.2. I can reproduce the bug with the Emacs 23.0.90, so it's be around since at lease 12-09 last year. However, I haven't yet had the time to do a proper bisect.