* Use of make-local-variable in a let-binding
@ 2010-04-20 16:28 Thierry Volpiatto
2010-04-20 17:37 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Thierry Volpiatto @ 2010-04-20 16:28 UTC (permalink / raw)
To: emacs-devel
Hi,
on the emacs build of today, i have an error in anything.el that never
appear in precedent version of emacs:
It tell me that we can't use (set (make-local-variable)...
inside a let-bind.
After having this error once, i have no more error when i do same
command(opening the action buffer in anything).
You can reproduce that by starting emacs with a minimal config of
anything like:
emacs -Q
(add-to-list 'load-path "path/to/anything")
(require 'anything)
and then M-x anything RET TAB
==>
anything-select-action: Making anything-sources local to *anything
action* while let-bound!
If you do M-x anything RET TAB again everything work as normal.
So is it a new behavior or a bug in emacs?
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Use of make-local-variable in a let-binding
2010-04-20 16:28 Use of make-local-variable in a let-binding Thierry Volpiatto
@ 2010-04-20 17:37 ` Stefan Monnier
2010-04-20 18:07 ` Thierry Volpiatto
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2010-04-20 17:37 UTC (permalink / raw)
To: Thierry Volpiatto; +Cc: emacs-devel
> on the emacs build of today, i have an error in anything.el that never
> appear in precedent version of emacs:
> It tell me that we can't use (set (make-local-variable)...
> inside a let-bind.
Oh, sorry, it was supposed to be a warning, not an error.
Still: try and fix the code so as not to do that because it's asking
for trouble (even more so when `let' binds per-thread as in the
concurrent branch).
> So is it a new behavior or a bug in emacs?
I think it's a feature, but I know that backward compatibility is a more
important feature.
Should be "fixed" now, thanks,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Use of make-local-variable in a let-binding
2010-04-20 17:37 ` Stefan Monnier
@ 2010-04-20 18:07 ` Thierry Volpiatto
0 siblings, 0 replies; 3+ messages in thread
From: Thierry Volpiatto @ 2010-04-20 18:07 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> on the emacs build of today, i have an error in anything.el that never
>> appear in precedent version of emacs:
>> It tell me that we can't use (set (make-local-variable)...
>> inside a let-bind.
>
> Oh, sorry, it was supposed to be a warning, not an error.
> Still: try and fix the code so as not to do that because it's asking
> for trouble (even more so when `let' binds per-thread as in the
> concurrent branch).
Ok i sent that to Rubikitch.
>> So is it a new behavior or a bug in emacs?
>
> I think it's a feature, but I know that backward compatibility is a more
> important feature.
>
> Should be "fixed" now, thanks,
Thanks Stefan.
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-20 18:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 16:28 Use of make-local-variable in a let-binding Thierry Volpiatto
2010-04-20 17:37 ` Stefan Monnier
2010-04-20 18:07 ` Thierry Volpiatto
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).