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#636: Please fix before the release of 23.1 Date: Sun, 10 Aug 2008 18:15:28 -0400 Message-ID: <87ljz45xfj.fsf__7837.64397860995$1218407320$gmane$org@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> Reply-To: Chong Yidong , 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 1218407263 7393 80.91.229.12 (10 Aug 2008 22:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Aug 2008 22:27:43 +0000 (UTC) Cc: Michael Olson , 636@emacsbugs.donarmstrong.com, Alan Mackenzie , 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 00:28:33 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 1KSJOr-0000Q7-2T for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 00:28:33 +0200 Original-Received: from localhost ([127.0.0.1]:57683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSJNu-00034a-Qd for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 18:27:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSJNp-00031G-D9 for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 18:27:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSJNo-0002zT-0C for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 18:27:28 -0400 Original-Received: from [199.232.76.173] (port=52250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSJNn-0002z5-Q5 for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 18:27:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58787) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSJNn-0000hd-EJ for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 18:27: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 m7AMRO0P009534; Sun, 10 Aug 2008 15:27:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7AMP4GR008321; Sun, 10 Aug 2008 15:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 10 Aug 2008 22:25:04 +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.12184065366438 (code B ref 636); Sun, 10 Aug 2008 22:25:04 +0000 Original-Received: (at 636) by emacsbugs.donarmstrong.com; 10 Aug 2008 22:15:36 +0000 Original-Received: from furry (c-24-63-201-57.hsd1.ma.comcast.net [24.63.201.57]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7AMFX6g006432 for <636@emacsbugs.donarmstrong.com>; Sun, 10 Aug 2008 15:15:34 -0700 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, 3) Resent-Date: Sun, 10 Aug 2008 18:27:28 -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:19253 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?