[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing line widths in the Emacs source code
From: |
Göktuğ Kayaalp |
Subject: |
Re: Changing line widths in the Emacs source code |
Date: |
Sun, 13 Sep 2020 21:07:44 +0300 |
User-agent: |
mu4e 1.2.0; emacs 28.0.50 |
On 2020-09-13 20:29 +03, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> We're definitely going in the opposite direction, though -- with the
> introduction of lexical binding, the popular style is to create a bunch
> of closures that refer to the surrounding environment, and that leads to
> more nesting.
Tangentially, is passing around environments something any programming
languages do? E.g.
(defun x (env)
(using-environment env
(message "I am %s" name surname)))
(defun y (name)
(let ((surname "McCarthy"))
(x (capture-environment-as-closure))))
(y "John")
That would be one cool feature to have in Elisp.
--
İ. Göktuğ Kayaalp / @cadadr / <https://www.gkayaalp.com/>
pgp: 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427
- Re: Changing line widths in the Emacs source code, (continued)
- Re: Changing line widths in the Emacs source code, Óscar Fuentes, 2020/09/13
- Re: Changing line widths in the Emacs source code, Stefan Monnier, 2020/09/13
- Re: Changing line widths in the Emacs source code, T.V Raman, 2020/09/13
- Re: Changing line widths in the Emacs source code, tomas, 2020/09/14
- Re: Changing line widths in the Emacs source code, Alan Third, 2020/09/14
- Re: Changing line widths in the Emacs source code, Stefan Kangas, 2020/09/15
Re: Changing line widths in the Emacs source code, Daniel Martín, 2020/09/13
Re: Changing line widths in the Emacs source code, Stefan Kangas, 2020/09/13
Re: Changing line widths in the Emacs source code, Eli Zaretskii, 2020/09/13
Re: Changing line widths in the Emacs source code, Stefan Monnier, 2020/09/13
Re: Changing line widths in the Emacs source code, Göktuğ Kayaalp, 2020/09/13