[Top][All Lists]

[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: Gecko/20071031 Thunderbird/ Mnenhy/

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

      (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 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of

Not sure if this is really a bug, so posting to 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]