[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#636: Please fix before the release of 23.1

Subject: bug#636: Please fix before the release of 23.1
Date: Mon, 11 Aug 2008 09:50:33 +0900

Do not send any mail1!
no thank you

----- Original Message ----- From: "Chong Yidong" <address@hidden>
To: "Ulrich Mueller" <address@hidden>
Cc: "Michael Olson" <address@hidden>; <address@hidden>; "Alan Mackenzie" <address@hidden>; <address@hidden>
Sent: Monday, August 11, 2008 7:15 AM
Subject: bug#636: Please fix before the release of 23.1

Ulrich Mueller <address@hidden> 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  <address@hidden>

* progmodes/cc-defs.el (c-emacs-features): New feature

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)))))
     (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:

 (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)
 call-interactively(execute-extended-command nil nil)

I don't know what causes this bug, though.  Anyone?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]