From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= Newsgroups: gmane.emacs.bugs Subject: bug#636: Please fix before the release of 23.1 Date: Mon, 11 Aug 2008 09:50:33 +0900 Message-ID: <003801c8fb4c$5f91b510$0100a8c0@yourhigxg9gyo4> 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> Reply-To: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= , 636@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218416871 26807 80.91.229.12 (11 Aug 2008 01:07:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 01:07:51 +0000 (UTC) To: "Chong Yidong" , <636@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 03:08:42 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 1KSLti-0004sm-JZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 03:08:34 +0200 Original-Received: from localhost ([127.0.0.1]:38835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSLsl-0006aa-Th for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Aug 2008 21:07:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSLsg-0006Yr-Bk for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 21:07:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSLse-0006Vu-Tj for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 21:07:29 -0400 Original-Received: from [199.232.76.173] (port=56120 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSLsd-0006Vc-Uc for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 21:07:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35240) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSLsd-0001Jh-EI for bug-gnu-emacs@gnu.org; Sun, 10 Aug 2008 21:07: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 m7B17OGn026511; Sun, 10 Aug 2008 18:07:25 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7B1055o023116; Sun, 10 Aug 2008 18:00:05 -0700 X-Loop: don@donarmstrong.com Resent-From: =?UTF-8?Q?=EF=BC=AF?= =?UTF-8?Q?=EF=BC=A6=EF=BC=A6=EF=BC=A9=EF=BC=A3=EF=BC=A5=E3=80=80ZERO?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 11 Aug 2008 01:00:05 +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.121841588221220 (code B ref 636); Mon, 11 Aug 2008 01:00:05 +0000 Original-Received: (at 636) by emacsbugs.donarmstrong.com; 11 Aug 2008 00:51:22 +0000 Original-Received: from smtp.air.ocn.ne.jp (air.ocn.ne.jp [122.1.235.141]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7B0pGaF021203 for <636@emacsbugs.donarmstrong.com>; Sun, 10 Aug 2008 17:51:17 -0700 Original-Received: from yourhigxg9gyo4 (p2042-ipad89marunouchi.tokyo.ocn.ne.jp [221.188.53.42]) by smtp.air.ocn.ne.jp (Postfix) with SMTP id 226BB3230; Mon, 11 Aug 2008 09:51:16 +0900 (JST) X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 10 Aug 2008 21:07: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:19257 Archived-At: Do not send any mail1! no thank you ----- Original Message ----- From: "Chong Yidong" To: "Ulrich Mueller" Cc: "Michael Olson" ; <636@emacsbugs.donarmstrong.com>; "Alan Mackenzie" ; Sent: Monday, August 11, 2008 7:15 AM Subject: bug#636: Please fix before the release of 23.1 > 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? > > > >