[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Understanding the "let" construct and the setting of variables
From: |
Jean Louis |
Subject: |
Re: Understanding the "let" construct and the setting of variables |
Date: |
Fri, 18 Dec 2020 21:12:16 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2020-12-18 18:43]:
>
> 3. if that isn't enough to use let/let* because several
> functions need to access a variable, use `setq' at the base
> level (i.e., first char of the line, or column 0) - not
> that Elisp has only one level, really, which is why you
> should use `setq' there to avoid confusion and errors.
> Because everyone can see what is created by `setq', this
> should be visible in the code style as well.
>
> Note that just because it would seem that two functions
> need access to the same variable, this actually doesn't
> have to be the case at all! Think it thru one extra time
> before you do it.
Instructions like that belong on a website where they become easily
searchable for other users to understand it.
We could index all the mailing list easily and provide search engine
for this.
- RE: RE: Understanding the "let" construct and the setting of variables, (continued)
- RE: RE: Understanding the "let" construct and the setting of variables, Drew Adams, 2020/12/17
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/17
- Re: Understanding the "let" construct and the setting of variables, tomas, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/18
- RE: Understanding the "let" construct and the setting of variables, Drew Adams, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Stefan Monnier, 2020/12/19
Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18
Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables,
Jean Louis <=
Re: Understanding the "let" construct and the setting of variables, Christopher Dimech, 2020/12/18
Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/19