From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Please fix before the release of 23.1 Date: Sun, 10 Aug 2008 18:15:28 -0400 Message-ID: <87ljz45xfj.fsf@stupidchicken.com> 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 1218406564 5973 80.91.229.12 (10 Aug 2008 22:16:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 22:16:04 +0000 (UTC) Cc: Glenn Morris , Michael Olson , 636@emacsbugs.donarmstrong.com, Alan Mackenzie , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 11 00:16:55 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 1KSJDT-00067a-MT for ged-emacs-devel@m.gmane.org; Mon, 11 Aug 2008 00:16:47 +0200 Original-Received: from localhost ([127.0.0.1]:60525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSJCX-0005OO-Jh for ged-emacs-devel@m.gmane.org; Sun, 10 Aug 2008 18:15:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSJCI-0005Eg-KP for emacs-devel@gnu.org; Sun, 10 Aug 2008 18:15:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSJCH-0005Dg-AT for emacs-devel@gnu.org; Sun, 10 Aug 2008 18:15:33 -0400 Original-Received: from [199.232.76.173] (port=45844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSJCH-0005Dc-5y for emacs-devel@gnu.org; Sun, 10 Aug 2008 18:15:33 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:20573 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSJCD-00072U-Mb; Sun, 10 Aug 2008 18:15:29 -0400 Original-Received: by furry (Postfix, from userid 1000) id 47063C054; Sun, 10 Aug 2008 18:15:28 -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-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:102269 Archived-At: Ulrich Mueller writes: >>>>>> On Sun, 10 Aug 2008, I wrote: > >> ,----[ 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: > > 2008-06-27 Alan Mackenzie > > * progmodes/cc-defs.el (c-emacs-features): New feature > 'argumentative-bod-function. Thanks for pinpointing this. In fact, it's apparently not a problem with cc-mode, but with Emacs. Here's a stripped-down recipe: 1. Create a file foo.el in your lisp path with the following contents: (defconst foo (let ((beginning-of-defun-function (lambda (&optional arg) (not (eq arg nil))))) (progn (beginning-of-defun 1)))) (provide 'foo) 2. Byte-compile it (M-x byte-compile-file RET). 3. Create a file test.el with the following contents: (progn (require 'foo)) 4. emacs test.el 5. M-x eval-buffer Debugger entered--Lisp error: (invalid-read-syntax ")") eval-buffer() ; Reading at buffer position 25 call-interactively(eval-buffer t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) I don't know what causes this bug, though. Anyone?