GNU bug report logs - #11904
24.1.50; error byte compiling (defvar :foo ':foo), regression from 23.4

Previous Next

Package: emacs;

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 #8 received at 11904 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 11904 <at> debbugs.gnu.org
Subject: Re: bug#11904: 24.1.50;
	error byte compiling (defvar :foo ':foo), regression from 23.4
Date: Wed, 11 Jul 2012 09:38:33 +0200
That's because (defvar :foo ':foo) is written as (defvar :foo :foo) in
the elc file, which defvar doesn't allow.  byte-compile-file-form-defvar
no longer calls byte-compile-form via byte-compile-keep-pending which
would handle it correctly (and emit a warning).  When adding a doc
string the bug also happens in emacs < 24.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.