From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Please fix before the release of 23.1 Date: Fri, 05 Sep 2008 10:54:03 -0400 Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220626531 32032 80.91.229.12 (5 Sep 2008 14:55:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 14:55:31 +0000 (UTC) Cc: Glenn Morris , Ulrich Mueller , Michael Olson , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 05 16:56:22 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbcjJ-0005oZ-EO for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2008 16:56:10 +0200 Original-Received: from localhost ([127.0.0.1]:36306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbciJ-0001i1-Bg for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2008 10:55:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kbchp-0001Va-8n for emacs-devel@gnu.org; Fri, 05 Sep 2008 10:54:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kbchl-0001Tb-PK for emacs-devel@gnu.org; Fri, 05 Sep 2008 10:54:36 -0400 Original-Received: from [199.232.76.173] (port=56761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kbchl-0001TU-HT for emacs-devel@gnu.org; Fri, 05 Sep 2008 10:54:33 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:60025) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbchX-0006kf-Oc; Fri, 05 Sep 2008 10:54:20 -0400 Original-Received: from alfajor.home (vpn-132-204-232-160.acd.umontreal.ca [132.204.232.160]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m85Es3gE016474; Fri, 5 Sep 2008 10:54:03 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id 3A48C1C971; Fri, 5 Sep 2008 10:54:03 -0400 (EDT) In-Reply-To: <18590.47471.82980.734389@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Sun, 10 Aug 2008 11:48:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3097=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103561 Archived-At: >> ,----[ test.el ] >> | (progn >> | (require 'cc-mode)) >> `---- >> $ emacs -Q test.el >> M-x eval-buffer >> This will result in an error: Invalid read syntax: ")" > The problem goes away if I revert the following change: > * progmodes/cc-defs.el (c-emacs-features): New feature > 'argumentative-bod-function. [...] > + ;; In Emacs >= 23, beginning-of-defun will passes its parameter to > + ;; beginning-of-defun-function. Assume end-of-defun does the same. I don't understand the code, but end-of-defun does not pass its argument to end-of-defun function (instead, it passes it to beginning-of-defun-function to find the beginning of the Nth function and then calls end-of-defun to jump to its end). Stefan