GNU bug report logs - #30078
27.0.50; Use lexical-binding for M-:

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Thu, 11 Jan 2018 16:38:01 UTC

Severity: wishlist

Found in version 27.0.50

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 30078 <at> debbugs.gnu.org
Subject: Re: bug#30078: 27.0.50; Use lexical-binding for M-:
Date: Sat, 13 Jan 2018 12:58:16 -0500
>> I'm not sure we should try to encourage the user to think a piece of
>> code can check the value of `lexical-binding` to know if it's being
>> evaluated using lexical scoping rules.
> I'm not sure, too.  But aren't *scratch* and *ielm* special?  These are
> the current buffers when code is evaluated,

For *scratch* yes, but for *ielm* that's not the case: the code is
evaluated in the `ielm-working-buffer` (whose name normally appears in
the mode-line after "IELM").


        Stefan




This bug report was last modified 6 years and 24 days ago.

Previous Next


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