all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: Michael Olson <mwolson@gnu.org>,
	636@emacsbugs.donarmstrong.com, Alan Mackenzie <acm@muc.de>,
	emacs-devel@gnu.org
Subject: bug#636: Please fix before the release of 23.1
Date: Sun, 10 Aug 2008 18:15:28 -0400	[thread overview]
Message-ID: <87ljz45xfj.fsf__7837.64397860995$1218407320$gmane$org@stupidchicken.com> (raw)
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")

Ulrich Mueller <ulm@gentoo.org> 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  <acm@muc.de>
>
> 	* 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?






  parent reply	other threads:[~2008-08-10 22:15 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <877ibp4hh3.fsf@vorlon.ganneff.de>
2008-07-13 22:21 ` Bug#490722: semantic: invalid read syntax Michael Olson
2008-07-30  5:59   ` Please fix before the release of 23.1 (was: Bug#490722: semantic: invalid read syntax) Michael Olson
2008-08-10  0:55     ` Please fix before the release of 23.1 Glenn Morris
2008-08-10  9:15       ` Ulrich Mueller
2008-08-10  9:48         ` Ulrich Mueller
2008-08-10 18:55           ` bug#636: " Glenn Morris
2008-08-11  1:06             ` OFFICE ZERO
2008-08-10 22:15           ` Chong Yidong [this message]
2008-08-10 22:15           ` Chong Yidong
2008-08-10 22:18             ` bug#636: " Chong Yidong
2008-08-10 22:18             ` Chong Yidong
2008-08-11  0:50               ` bug#636: " OFFICE ZERO
     [not found]                 ` <handler.636.B636.121841588021215.ackinfo@emacsbugs.donarmstrong.com>
2008-08-11  1:16                   ` bug#636: Info received (bug#636: Please fix before the release of 23.1) OFFICE ZERO
2008-08-11  0:50             ` bug#636: Please fix before the release of 23.1 OFFICE ZERO
     [not found]               ` <handler.636.B636.121841588221220.ackinfo@emacsbugs.donarmstrong.com>
2008-08-11  1:16                 ` bug#636: Info received (bug#636: Please fix before the release of 23.1) OFFICE ZERO
2008-08-11  7:18             ` bug#636: Please fix before the release of 23.1 Ulrich Mueller
2008-08-11  8:47               ` Alan Mackenzie
2008-08-11  8:54                 ` Andreas Schwab
2008-08-11  8:54                 ` Andreas Schwab
2008-08-11 18:50                   ` Alan Mackenzie
2008-08-11 18:50                   ` Alan Mackenzie
2008-08-11  8:47               ` Alan Mackenzie
2008-08-11 15:26               ` Michael Olson
2008-08-11 15:26               ` Michael Olson
2008-08-11 16:30               ` Chong Yidong
2008-08-11 16:30               ` Chong Yidong
2008-08-11 19:01                 ` Alan Mackenzie
2008-08-11 19:01                 ` Alan Mackenzie
2008-08-11 21:42                   ` Chong Yidong
2008-08-01  7:43                     ` bug#636: 23.0.60; Read syntax error while byte-compiling Dmitry Dzhus
2008-08-11 21:50                       ` bug#636: marked as done (23.0.60; Read syntax error while byte-compiling) Emacs bug Tracking System
2008-08-13  9:24                     ` bug#636: Please fix before the release of 23.1 Alan Mackenzie
2008-08-11 22:00               ` Johan Bockgård
2008-08-11  7:18             ` Ulrich Mueller
2008-09-05 14:54           ` Stefan Monnier
2008-08-10 18:51         ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='87ljz45xfj.fsf__7837.64397860995$1218407320$gmane$org@stupidchicken.com' \
    --to=cyd@stupidchicken.com \
    --cc=636@emacsbugs.donarmstrong.com \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=mwolson@gnu.org \
    --cc=ulm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.