GNU bug report logs - #6712
24.0.50; `customize-rogue' error: Symbol's value as variable is void

Previous Next

Package: emacs;

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

Date: Thu, 22 Jul 2010 22:30:03 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.50; `customize-rogue' error: Symbol's value as variable is void
Date: Thu, 22 Jul 2010 15:28:56 -0700
emacs -Q
 
Eval this:
 
(defcustom foo 'start
  ""
  :type '(choice  (const start) (const end))
  :group 'foobar)
 
M-x customize-option foo
 
1. Use the Value Menu to change the value to `end'.
2. Use the State menu to `Set for current session' (value is `end').
3. Use the State menu to `Set to Backup Value' (value is `start').
4. M-x customize-rogue
 
This error message appears:
 
"Symbol's value as variable is void: start"
 
The problem is the call to `eval' here:
 
(when (and cval ;Declared with defcustom.
           (default-boundp symbol) ;Has a value.
           (not (equal (eval (car cval)) ; <==============
                       ;; Which does not match customize.
                       (default-value symbol))))
  (push (list symbol 'custom-variable) found))
 
The sexp that is the arg to `eval' is `(start)'.


 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-07-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'
 





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

Previous Next


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