* Strange read error
@ 2008-07-30 16:24 Dmitry Dzhus
2008-07-31 18:20 ` Lennart Borgman (gmail)
2008-08-12 21:49 ` Dmitry Dzhus
0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Dzhus @ 2008-07-30 16:24 UTC (permalink / raw)
To: help-gnu-emacs
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.
--
Happy Hacking.
http://sphinx.net.ru
む
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange read error
2008-07-30 16:24 Strange read error Dmitry Dzhus
@ 2008-07-31 18:20 ` Lennart Borgman (gmail)
2008-08-12 21:49 ` Dmitry Dzhus
1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-07-31 18:20 UTC (permalink / raw)
To: Dmitry Dzhus; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange read error
2008-07-30 16:24 Strange read error Dmitry Dzhus
2008-07-31 18:20 ` Lennart Borgman (gmail)
@ 2008-08-12 21:49 ` Dmitry Dzhus
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Dzhus @ 2008-08-12 21:49 UTC (permalink / raw)
To: help-gnu-emacs
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.
This bug was fixed yesterday, see
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=636
--
Happy Hacking.
http://sphinx.net.ru
む
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-12 21:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 16:24 Strange read error Dmitry Dzhus
2008-07-31 18:20 ` Lennart Borgman (gmail)
2008-08-12 21:49 ` Dmitry Dzhus
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.