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

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

bug#11904: 24.1.50; error byte compiling (defvar :foo ':foo), regression


From: Michael Welsh Duggan
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
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Create a new directory and within this directory create the following
two files:

File foo.el:

Attachment: foo.el
Description: application/emacs-lisp

File bar.el:

Attachment: bar.el
Description: application/emacs-lisp

>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 address@hidden
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
(address@hidden)

reply via email to

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