From: Michael Welsh Duggan <md5i@md5i.com>
To: 11904@debbugs.gnu.org
Subject: bug#11904: 24.1.50; error byte compiling (defvar :foo ':foo), regression from 23.4
Date: Tue, 10 Jul 2012 19:16:47 -0400 [thread overview]
Message-ID: <87liirw6jk.fsf@maru.md5i.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 95 bytes --]
Create a new directory and within this directory create the following
two files:
File foo.el:
[-- Attachment #2: foo.el --]
[-- Type: application/emacs-lisp, Size: 37 bytes --]
[-- Attachment #3: Type: text/plain, Size: 14 bytes --]
File bar.el:
[-- Attachment #4: bar.el --]
[-- Type: application/emacs-lisp, Size: 18 bytes --]
[-- Attachment #5: Type: text/plain, Size: 1209 bytes --]
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@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@md5i.com)
next reply other threads:[~2012-07-10 23:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 23:16 Michael Welsh Duggan [this message]
2012-07-11 7:38 ` bug#11904: 24.1.50; error byte compiling (defvar :foo ':foo), regression from 23.4 Andreas Schwab
2012-07-12 13:43 ` Stefan Monnier
2012-07-12 13:52 ` Michael Welsh Duggan
2012-07-18 15:21 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87liirw6jk.fsf@maru.md5i.com \
--to=md5i@md5i.com \
--cc=11904@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).