[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defvar without value
From: |
Stefan Monnier |
Subject: |
Re: defvar without value |
Date: |
Wed, 01 Apr 2020 22:37:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> we/you/someone wanted to add `fluid-let'
> (i.e. a dynamically binding `let') anyway.
It's in `master`, called `dlet`, but it's orthogonal to `defvar-dynamic`.
>> Similarly, we could add something like (defvar-lexical VAR VAL) which
>> defines the var and sets it but doesn't set the `special` bit
> Uses of that exceed my current imagination.
How quickly one gets used to the idea of dynamic scoping, eh?
% grep internal-make-var-non-special **/*.el
lisp/emacs-lisp/float-sup.el:(internal-make-var-non-special 'pi)
lisp/startup.el:(internal-make-var-non-special 'argv)
lisp/startup.el:(internal-make-var-non-special 'argi)
%
-- Stefan
- Re: defvar without value, Michael Heerdegen, 2020/04/01
- Re: defvar without value,
Stefan Monnier <=
- Re: defvar without value, Michael Heerdegen, 2020/04/08
- Re: defvar without value, Emanuel Berg, 2020/04/08
- Re: defvar without value, Stefan Monnier, 2020/04/08
- Re: defvar without value, Emanuel Berg, 2020/04/09
- Re: defvar without value, Bruno FĂ©lix Rezende Ribeiro, 2020/04/10
- Re: defvar without value, Emanuel Berg, 2020/04/10
- Re: defvar without value, Michael Heerdegen, 2020/04/10