GNU bug report logs - #9712
defcustom's initial value expression is not byte-compiled

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sun, 9 Oct 2011 20:44:02 UTC

Severity: wishlist

Found in version 24.0.50

Full log


Message #19 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 9712 <at> debbugs.gnu.org
Subject: Re: bug#9712: 24.0.50; doc about byte-compiling `defcustom'
Date: Mon, 10 Oct 2011 22:17:29 -0400
retitle 9712 defcustom's initial value expression is not byte-compiled
thanks

> This is what the byte-compiled file shows:
 
> #@14 jjjjjjjjjjjj
> (custom-declare-variable 'titi '(eval-when-compile
>   `(,(kbd "S-<tab>"))) '(#$ . 509) :type '(repeat sexp) :group 'edit)
> #@12 kkkkkkkkkk
> (defvar toto '([S-tab]) (#$ . 647))
 
> Here's the bug (a doc bug), as I see it: Where in the doc is this
> behavior described?  Where does it say that the STANDARD arg to
> defcustom is not evaluated by the byte compiler, even when you use
> `eval-when-compile'?
 
The bug is not in the doc but in the behavior.


        Stefan




This bug report was last modified 13 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.