GNU bug report logs - #12667
24.2; defcustom changed in lexical-binding

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 18 Oct 2012 02:19:02 UTC

Severity: normal

Found in version 24.2

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 12667 in the body.
You can then email your comments to 12667 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 monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#12667; Package emacs. (Thu, 18 Oct 2012 02:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Thu, 18 Oct 2012 02:19:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; defcustom changed in lexical-binding
Date: Thu, 18 Oct 2012 10:15:35 +0800
[Message part 1 (text/plain, inline)]
1. Load the attached bigbug.el

2. open it in emacs and edit the definition of
   clang-project-default-settings, for example, remove "-v"

3. C-M-x the defcustom

4. C-h v clang-project-default-settings to show:

,----
| clang-project-default-settings is a variable defined in `bigbug.el'.
| Its value is (("SDKROOT" . "iphoneos")
|  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1" "-v"))
| 
| Original value was 
| (("SDKROOT" . "iphoneos")
|  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1"))
| 
| 
| Documentation:
| FIXME
| 
| You can customize this variable.
`----

i.e. C-M-x doesn't change the value of clang-project-default-settings,
this is opposite to the behaviour when lexical-binding is nil or in
previous emacsen.

Leo

[bigbug.el (application/emacs-lisp, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12667; Package emacs. (Tue, 23 Oct 2012 18:55:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: 12667 <at> debbugs.gnu.org
Subject: Re: bug#12667: 24.2; defcustom changed in lexical-binding
Date: Tue, 23 Oct 2012 14:52:11 -0400
> 1. Load the attached bigbug.el
> 2. open it in emacs and edit the definition of
>    clang-project-default-settings, for example, remove "-v"
> 3. C-M-x the defcustom
> 4. C-h v clang-project-default-settings to show:

> ,----
> | clang-project-default-settings is a variable defined in `bigbug.el'.
> | Its value is (("SDKROOT" . "iphoneos")
> |  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1" "-v"))
> | 
> | Original value was 
> | (("SDKROOT" . "iphoneos")
> |  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1"))
> | 
> | 
> | Documentation:
> | FIXME
> | 
> | You can customize this variable.
> `----

I can't reproduce it here.
I did "src/emacs -Q -l ~/tmp/bigbug.el ~/tmp/bigbug.el"
then removed the "-v" and did C-M-x and then C-h v and it showed the
value did not have "-v" any more (and the original value was not
displayed because it's equal to the current value).

Can you try and figure out what's the difference between me test case
and your test case, to see what triggers the problem?


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12667; Package emacs. (Wed, 24 Oct 2012 17:57:02 GMT) Full text and rfc822 format available.

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

From: Leo <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 12667 <at> debbugs.gnu.org
Subject: Re: bug#12667: 24.2; defcustom changed in lexical-binding
Date: Thu, 25 Oct 2012 01:54:04 +0800
On 2012-10-24 02:52 +0800, Stefan Monnier wrote:
> I can't reproduce it here.
> I did "src/emacs -Q -l ~/tmp/bigbug.el ~/tmp/bigbug.el"
> then removed the "-v" and did C-M-x and then C-h v and it showed the
> value did not have "-v" any more (and the original value was not
> displayed because it's equal to the current value).
>
> Can you try and figure out what's the difference between me test case
> and your test case, to see what triggers the problem?

I built bzr trunk and this bug doesn't happen there.

I could only reproduce it with 24.2 from the emacs-24 branch
(2012-09-29).

Leo




bug closed, send any further explanations to 12667 <at> debbugs.gnu.org and Leo <sdl.web <at> gmail.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 24 Oct 2012 18:26:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12667; Package emacs. (Wed, 24 Oct 2012 18:53:02 GMT) Full text and rfc822 format available.

Message #16 received at 12667-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: 12667-done <at> debbugs.gnu.org
Subject: Re: bug#12667: 24.2; defcustom changed in lexical-binding
Date: Wed, 24 Oct 2012 14:50:30 -0400
> I built bzr trunk and this bug doesn't happen there.
> I could only reproduce it with 24.2 from the emacs-24 branch
> (2012-09-29).

Great, so it's fixed, closing,


        Stefan




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

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

Previous Next


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