all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 15718@debbugs.gnu.org
Subject: bug#15718: 24.3.50; `C-M-x' does not work, with `defcustom' inside `when'
Date: Fri, 25 Oct 2013 08:44:44 -0700 (PDT)	[thread overview]
Message-ID: <07396814-cb70-42aa-b3e1-a3c4449ad43b@default> (raw)

emacs -Q

(when t
  (defcustom foo nil
   "..."
   :type boolean))

M-x set-variable foo t

Put point on foo in the defcustom sexp, and do `C-M-x'.  `foo' is echoed
in the echo area, giving you the impression that the defcustom was
reevaluated, reinitializing `foo'.

C-h v foo ;; => t, not nil.

Without the `when', i.e., with the `defcustom' at top level, the value
is nil, as a user would expect.



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2013-10-25 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 15:44 Drew Adams [this message]
2019-08-15  2:57 ` bug#15718: 24.3.50; `C-M-x' does not work, with `defcustom' inside `when' Lars Ingebrigtsen
2019-08-15  4:41   ` Drew Adams

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=07396814-cb70-42aa-b3e1-a3c4449ad43b@default \
    --to=drew.adams@oracle.com \
    --cc=15718@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.