all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 6712@debbugs.gnu.org
Subject: bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void
Date: Thu, 22 Jul 2010 15:28:56 -0700	[thread overview]
Message-ID: <A6674AC3C770457FBDF222271ABF2D4B@us.oracle.com> (raw)

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'
 






             reply	other threads:[~2010-07-22 22:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 22:28 Drew Adams [this message]
2012-02-05 15:51 ` bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A6674AC3C770457FBDF222271ABF2D4B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6712@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.