bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6203: Frame-local variables break let-binding


From: Stefan Monnier
Subject: bug#6203: Frame-local variables break let-binding
Date: Mon, 17 May 2010 09:45:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I've run into a bug with GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+
> Version 2.16.1, checked out from the repo a week or so ago). Let-binding
> frame-local variables doesn't work: although the let-bound value is correct
> within the `let', it doesn't get reset after the `let'. To reproduce, just
> run http://gist.github.com/403208.

I definitely cannot reproduce the behavior you show on that page:
The code stops at "(message "Before: %d" foo)" because foo has
value nil at that point which is incompatible with the %d format.
If I get rid of this bug, then I bump into the next error which is that
`let' raises "Frame-local vars cannot be let-bound".

Note that frame-local variables have been deprecated since Emacs-22.2,
and I definitely intend to remove support for them (tho for Emacs-24.1,
the plan is currently only to remove support for let-binding them).


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]