From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Olson Newsgroups: gmane.emacs.bugs Subject: bug#636: Please fix before the release of 23.1 Date: Mon, 11 Aug 2008 08:26:04 -0700 Message-ID: <87d4kfy3n7.fsf__2504.05837218768$1218472212$gmane$org@grepfind.mwolson.org> References: <877ibp4hh3.fsf@vorlon.ganneff.de> <871w1xfmsb.fsf@grepfind.mwolson.org> <87ljzj3oad.fsf_-_@grepfind.mwolson.org> <18590.45488.891078.545308@a1ihome1.kph.uni-mainz.de> <18590.47471.82980.734389@a1ihome1.kph.uni-mainz.de> <87ljz45xfj.fsf@stupidchicken.com> <18591.59359.40969.641357@a1ihome1.kph.uni-mainz.de> Reply-To: Michael Olson , 636@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218472155 18050 80.91.229.12 (11 Aug 2008 16:29:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 16:29:15 +0000 (UTC) Cc: Chong Yidong , Alan Mackenzie , 636@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 18:30:05 2008 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.50) id 1KSaHT-0004zz-Rm for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 18:30:04 +0200 Original-Received: from localhost ([127.0.0.1]:42862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSaGX-0005vs-Qi for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 12:29:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSZcH-0005KX-Aj for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 11:47:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSZcF-0005K1-LT for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 11:47:28 -0400 Original-Received: from [199.232.76.173] (port=47534 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSZcF-0005Jw-G9 for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 11:47:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44045) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSZcE-0000Ev-PT for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 11:47:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7BFlOAv005399; Mon, 11 Aug 2008 08:47:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7BFZ3TW000978; Mon, 11 Aug 2008 08:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Michael Olson Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 11 Aug 2008 15:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 636 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 636-submit@emacsbugs.donarmstrong.com id=B636.121846837931648 (code B ref 636); Mon, 11 Aug 2008 15:35:03 +0000 Original-Received: (at 636) by emacsbugs.donarmstrong.com; 11 Aug 2008 15:26:19 +0000 Original-Received: from deleuze.hcoop.net (Debian-exim@deleuze.hcoop.net [69.90.123.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7BFQFe9031642 for <636@emacsbugs.donarmstrong.com>; Mon, 11 Aug 2008 08:26:16 -0700 Original-Received: from cpe-75-84-159-101.socal.res.rr.com ([75.84.159.101] helo=grepfind.mwolson.org) by deleuze.hcoop.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KSZHb-00009U-Fr; Mon, 11 Aug 2008 11:26:07 -0400 Original-Received: from mwolson by grepfind.mwolson.org with local (Exim 4.69) (envelope-from ) id 1KSZHY-0004AF-Rz; Mon, 11 Aug 2008 08:26:04 -0700 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEU1QytIVTlZY0dqc1N6 hGGJl3qZpZCtuKXsjxzFAAACW0lEQVR42l2UXXrqIBCGk67Aoe29Ac4CTPDcGwZ73wLdQDOuQLP9 8wHG9hT1Mc6bb/5jp7Xed92TVrqeCYfKRVc+XdfDbqbJ8TixG1UDu2a3xkf2H+z+A6Qn7Xk71AA8 kdJmZg4xpcTshgr2JQSurAswhwDFYQN9r4yxx1BIQqBTBbvqahw9hxRSLOBdFVA89TTOvgSoMaLf ABTWOg5Z8lLRNyD7x4WSVHU1DZurThn2HI9Oa561JhTSDUWxq64YqRlmrcdhA73y3rmJY1okotDT NzDO2XNGZPnS7A4b6NQ8foQFN2eJmEBR7Du1Q/DRh7R4O50BrGmu0F8i49Iya+ScvtDNqkADB8zD pwU9wTu9c8msdNYOO0JvYYyREd9xBOh7zSNc2WMZUYzIDHOpU0Kxe5o9o0eccsr5mNLcwHhC8DoM SQkJ5wbUxAdlbDELEpDbclc8sT2gV2HJIrj/si7hDgzPpY4sqxTV+pWkgt7EGesDIFWUnGuK7pkn erZoieCVZPGcG3jCJimLwS7IVZY4R3mvoNfzoCfOF0mIG1nna+TadAxzgF5u0b3JTaxcmZtCF1dn WSOv63oNl4U3BQCLXOQKWZIHUBWcUci6iuTL7eMOelVAKfp+NkA0kOElN3BbV26AiGZsXEqfa0EQ NtATvTAKCeHh7AEEi4knM6S3HwB2eo1zeZQ5fDbg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ODwAAAABJRU5ErkJggg== X-Hashcash: 1:20:080811:acm@muc.de::99TvYef2KfEvwjP3:00000000rrS X-Hashcash: 1:20:080811:emacs-devel@gnu.org::JpU3DtCDK60Z1d1+:0000000000000000000000000000000000000000000pPb X-Hashcash: 1:20:080811:cyd@stupidchicken.com::kx+jF2f0ChDFN+0v:00000000000000000000000000000000000000000Hrn X-Hashcash: 1:20:080811:ulm@gentoo.org::F8OKm/mahfFzkAUi:0001S8/ X-Hashcash: 1:20:080811:rgm@gnu.org::KU7Vel7jOH4x06Ja:0000006hkK X-Hashcash: 1:20:080811:636@emacsbugs.donarmstrong.com::U5XYjmAvTi+G62wz:000000000000000000000000000000063WJ In-Reply-To: <18591.59359.40969.641357@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 11 Aug 2008 09:18:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 11 Aug 2008 11:47:28 -0400 X-Mailman-Approved-At: Mon, 11 Aug 2008 12:28:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:19293 Archived-At: Ulrich Mueller writes: > Indeed. If we agree that the bug is in cc-defs.el, then the following > patch should fix it: > > --- progmodes/cc-defs.el 27 Jun 2008 21:12:46 -0000 1.58 > +++ progmodes/cc-defs.el 11 Aug 2008 07:11:04 -0000 > @@ -1445,7 +1445,7 @@ > (let ((beginning-of-defun-function > (lambda (&optional arg) > (not (eq arg nil))))) > - (if (beginning-of-defun 1) > + (if (save-excursion (beginning-of-defun 1)) > (setq list (cons 'argumentative-bod-function list)))) > > (let ((buf (generate-new-buffer " test")) This patch fixes the problem for me as well. It's interesting that evaluating a top-level defconst definition can screw up the byte-compiler though ... would it make sense for the byte-compiler to automatically do a save-excursion around the processing of each top-level form in a given file? -- | Michael Olson | FSF Associate Member #652 | | http://mwolson.org/ | Hobbies: Lisp, HCoop | | Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner | `-------------------------------------------------------'