help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Strange read error


From: Lennart Borgman (gmail)
Subject: Re: Strange read error
Date: Thu, 31 Jul 2008 20:20:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Dmitry Dzhus wrote:
I wonder why attempting to byte-compile this code with CVS version of
GNU Emacs:

    (eval-when-compile
      (require 'cc-mode))

fails with the following error:

    In toplevel form:
    test.el:2:21:Error: Invalid read syntax: ")"

While rewriting file contents with the following:

    (eval-when-compile (require 'cc-mode))

writes compiled files just fine. Seems unbelievable.

Looks like this is something specific to `cc-mode` as requiring other
libs compiles ok.

Using GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of
2008-07-30.

Not sure if this is really a bug, so posting to g.e.help in hope to get
some feedback from experienced Emacs hackers.

This surely looks like a bug, please report it with a simple example to reproduce it.




reply via email to

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