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

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

Re: How do I pass a variable defined in a wrapping let, to a lambda?


From: Eduardo Ochs
Subject: Re: How do I pass a variable defined in a wrapping let, to a lambda?
Date: Sat, 12 Mar 2022 15:56:24 -0300

On Sat, 12 Mar 2022 at 10:33, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
> Eduardo Ochs [2022-03-12 03:08:04] wrote:
> > On Sat, 12 Mar 2022 at 01:56, Stefan Monnier via Users list for the
> > GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> >> That's right.
> >> Nowadays, *all* files with a `.el` extension should have
> >> `-*- lexical-binding:t -*-` somewhere on their first line.
> >
> > Or a `-*- lexical-binding:nil -*-`...
>
> The only justification I've seen for that so far is for tests that check
> whether something still works with the old dialect of ELisp (i.e. for
> files which can simply be deleted the day this old dialect is not
> supported any more).

Well, SOME people like dynamic binding very much and they have code
that would be VERY hard to rewrite in lexical binding...

  https://lists.gnu.org/archive/html/help-gnu-emacs/2021-08/msg00345.html
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30078#86
  https://www.gnu.org/software/emacs/emacs-paper.html#SEC18

Cheers, E.



reply via email to

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