GNU bug report logs -
#11904
24.1.50; error byte compiling (defvar :foo ':foo), regression from 23.4
Previous Next
Reported by: Michael Welsh Duggan <md5i <at> md5i.com>
Date: Tue, 10 Jul 2012 23:23:01 UTC
Severity: normal
Found in version 24.1.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Create a new directory and within this directory create the following
two files:
File foo.el:
[foo.el (application/emacs-lisp, inline)]
[Message part 3 (text/plain, inline)]
File bar.el:
[bar.el (application/emacs-lisp, inline)]
[Message part 5 (text/plain, inline)]
From within that directory, run the following command:
emacs --no-site-file --no-init-file --batch --eval='(setq load-path (cons "." load-path) )' -f batch-byte-compile *.el
Then, again run the same command:
emacs --no-site-file --no-init-file --batch --eval='(setq load-path (cons "." load-path) )' -f batch-byte-compile *.el
This first time around, both files complain without error. The second
time I get the following error:
In toplevel form:
bar.el:1:1:Error: Constant symbol `:foo' specified in defvar
Wrote /tmp/baz/foo.elc
I have verified that this is a regression from emacs 23.4.
In GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, X toolkit)
of 2012-07-09 on maru
Bzr revision: 108966 rgm <at> gnu.org-20120709101737-t80gis1iw52odbif
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
Configured using:
`configure '--without-gconf' '--without-gsettings'
'--without-toolkit-scroll-bars' '--with-x-toolkit=lucid' 'CFLAGS=-O0
-ggdb' '--enable-asserts' '--with-wide-int' '--enable-maintainer-mode''
Important settings:
value of $LANG: en_US.utf8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
--
Michael Welsh Duggan
(md5i <at> md5i.com)
This bug report was last modified 12 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.