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#7595: Infinite loop in cc-mode, or the coming of autumn Date: Sun, 06 Mar 2011 23:46:18 -0500 Message-ID: References: <4D000FF1.10307@gmail.com> <20101216213915.GA3442__49696.8405823738$1292537376$gmane$org@muc.de> <4D45F34F.8030601@gmail.com> <87tygo3c4q.fsf__35531.9466595121$1296517007$gmane$org@stupidchicken.com> <4D741A35.9030501@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299474431 19042 80.91.229.12 (7 Mar 2011 05:07:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 05:07:11 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 06:07:07 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 1PwSev-0002dZ-Nu for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Mar 2011 06:07:06 +0100 Original-Received: from localhost ([127.0.0.1]:33030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwSeu-0003vd-SI for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Mar 2011 00:07:04 -0500 Original-Received: from [140.186.70.92] (port=48180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwSek-0003sg-MF for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 00:06:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwSej-0001GB-MQ for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2011 00:06:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwSei-0001FZ-B5; Mon, 07 Mar 2011 00:06:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PwSLV-0007GL-Vp; Sun, 06 Mar 2011 23:47:02 -0500 X-Loop: help-debbugs@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, bug-cc-mode@gnu.org Resent-Date: Mon, 07 Mar 2011 04:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7595 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.129947319027872 (code B ref -1); Mon, 07 Mar 2011 04:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Mar 2011 04:46:30 +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 1PwSKz-0007FU-P2 for submit@debbugs.gnu.org; Sun, 06 Mar 2011 23:46:29 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwSKy-0007FH-D3 for submit@debbugs.gnu.org; Sun, 06 Mar 2011 23:46:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwSKs-0006jG-Kv for submit@debbugs.gnu.org; Sun, 06 Mar 2011 23:46:23 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:47505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwSKs-0006jC-Il for submit@debbugs.gnu.org; Sun, 06 Mar 2011 23:46:22 -0500 Original-Received: from [140.186.70.92] (port=42521 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwSKp-0006kf-V7 for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 23:46:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwSKp-0006iZ-4Y for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 23:46:19 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwSKp-0006iV-2t for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 23:46:19 -0500 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PwSKo-0000C7-LA; Sun, 06 Mar 2011 23:46:18 -0500 In-Reply-To: <4D741A35.9030501@gmail.com> (Daniel Colascione's message of "Sun, 06 Mar 2011 15:35:17 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) 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, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 06 Mar 2011 23:47:01 -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:44728 Archived-At: Daniel Colascione writes: > The following patch repairs a defect in the original that results in > an infinite loop in c-beginning-of-statement under the following > circumstance: > > 1 #define some_macro value > 2 > 3 [P] > 4 > > Where [P] denotes the point. Le sigh. We can't keep 23.3 on hold while refining this code, with the problems in each iteration taking one whole month to surface. FWIW, in my day to day usage of the 23.3 release candidate, I haven't encountered any looping problems. Did you come across this in a real world situation? If so, please describe it, and we will shall see if we just have to bite the bullet and continue pretesting. But if it does not trigger for realistic usage, I prefer to leave matters as they are for 23.3---i.e. swapping one rare infloop in 23.2 (Bug#7595) for a different one in 23.3 (the above).