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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6712 in the body.
You can then email your comments to 6712 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6712; Package emacs. (Thu, 22 Jul 2010 22:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 22 Jul 2010 22:30:04 GMT) Full text and rfc822 format available.

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'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#6712; Package emacs. (Sun, 05 Feb 2012 15:53:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6712 <at> debbugs.gnu.org
Subject: Re: bug#6712: 24.0.50;
	`customize-rogue' error: Symbol's value as variable is void
Date: Sun, 05 Feb 2012 23:51:20 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> (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"

Fixed; thanks for the report.




bug closed, send any further explanations to 6712 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 05 Feb 2012 15:53:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Mar 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 26 days ago.

Previous Next


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