GNU bug report logs - #15718
24.3.50; `C-M-x' does not work, with `defcustom' inside `when'

Previous Next

Package: emacs;

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

Date: Fri, 25 Oct 2013 15:46:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: 15718 <at> 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)
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 <at> 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'




This bug report was last modified 5 years and 337 days ago.

Previous Next


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