[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defun Self Documentation
From: |
Christopher Dimech |
Subject: |
Re: Defun Self Documentation |
Date: |
Fri, 6 Nov 2020 20:41:47 +0100 |
> Sent: Friday, November 06, 2020 at 8:23 PM
> From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Defun Self Documentation
>
> >> But I wonder why we'd recommend other users not to use lexical-binding
> >> in their `init.el`.
> > Because the defun special form didn’t work properly in lexically bound
> > contexts.
>
> I fail to see the connection. The restriction of `defun` in lexical
> context was very minor, only affected rather unusual circumstances
> anyway, and could very easily be circumvented. And I fail to see why it
> should have affected init.el files more than others.
>
> > But since 24.3, the problem with the symbol counter was resolved,
>
> I don't know what "problem with the symbol counter" you're referring to.
Let should bind to variables only, but it wasn't. Nevertheless, the
recommendation
is of no value today, and should not be mentioned anymore.
>
> > People can use it without any harm.
>
> Of course. Many people do already.
>
>
> Stefan
>
>
>
- Re: Defun Self Documentation, (continued)
- Re: Defun Self Documentation, Emanuel Berg, 2020/11/08
- Re: Defun Self Documentation, Emanuel Berg, 2020/11/08
- Re: Defun Self Documentation, Emanuel Berg, 2020/11/08
- Re: Defun Self Documentation (let us do it different), Jean Louis, 2020/11/06
- Re: Defun Self Documentation (let us do it different), Emanuel Berg, 2020/11/08
- Re: Defun Self Documentation, Stefan Monnier, 2020/11/06
- Re: Defun Self Documentation, Eli Zaretskii, 2020/11/06
- Re: Defun Self Documentation, Stefan Monnier, 2020/11/06
- Re: Defun Self Documentation, Christopher Dimech, 2020/11/06
- Re: Defun Self Documentation, Stefan Monnier, 2020/11/06
- Re: Defun Self Documentation,
Christopher Dimech <=
RE: Defun Self Documentation, Drew Adams, 2020/11/05
Re: Defun Self Documentation, Anders Munch, 2020/11/06
Re: Defun Self Documentation, Anders Munch, 2020/11/06