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

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

bug#65209: 30.0.50; Unexpected behaviour of setq-local


From: Eli Zaretskii
Subject: bug#65209: 30.0.50; Unexpected behaviour of setq-local
Date: Thu, 24 Aug 2023 08:35:23 +0300

> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: 65209@debbugs.gnu.org,  gerd.moellmann@gmail.com,  
> monnier@iro.umontreal.ca
> Date: Thu, 24 Aug 2023 05:31:20 +0200
> 
> > > I would not suggest such an addition if I would not have missed that
> > > kind of information in the manual.
> >
> > Which part(s) did you miss?  AFAIU, the behavior with dynamic
> > variables is described in very clear terms which make the first
> > example completely described.
> 
> I mean the aspect that Stefan had fixed here: that a local variable
> created inside a let-binding of the "same" variable survives the
> termination of the `let' expression.  Which means in particular: `let'
> seems to not restore the value of the variable because the former
> binding is "shadowed" by the buffer local binding.  This is similar to
> what is described in the "Warning" paragraph in the manual I cited, but
> happening without changing the current buffer.
> 
> Could we maybe melt this case into this "Warning" paragraph?

Feel free to suggest such a change, even if it isn't perfect, so that
we could have some real basis for discussing it.





reply via email to

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