[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proper namespaces in Elisp
From: |
Stefan Monnier |
Subject: |
Re: Proper namespaces in Elisp |
Date: |
Thu, 07 May 2020 17:06:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> You need not only discover the defining forms but also the "using"
>> forms. So you need to know that the arguments to `make-local-variable`,
>> `add-hook`, `symbol-value`, `facep`, ... (and all function that pass
>> their arg to one of those) are not just random symbols (that you should
>> leave untouched) but symbols that obey the namespace rules.
> I think these situations are rare enough that we can ask people to pass
> fully-qualified symbols.
Experts would have no trouble dealing with that, indeed, but it would
introduce extra complexity which will negatively affect the average
user, I feel.
> FWIW, I think elisp should just literally copy Common Lisp's approach.
I thought your previous message was saying you don't like this approach
(when you said "I don't like reader magic"). Is it that I misunderstood
or that you don't much like the solution but think that from a pragmatic
point of view it's still the better option?
Stefan
- Re: Proper namespaces in Elisp, (continued)
- Re: Proper namespaces in Elisp, Stefan Monnier, 2020/05/07
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/07
- Re: Proper namespaces in Elisp, João Távora, 2020/05/07
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/07
- Re: Proper namespaces in Elisp, João Távora, 2020/05/08
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/08
- Re: Proper namespaces in Elisp, João Távora, 2020/05/08
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/07
- Re: Proper namespaces in Elisp, Stefan Monnier, 2020/05/07
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/07
- Re: Proper namespaces in Elisp,
Stefan Monnier <=
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/07
- Re: Proper namespaces in Elisp, João Távora, 2020/05/07
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/07
- Re: Proper namespaces in Elisp, João Távora, 2020/05/07
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/08
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/08
- Re: Proper namespaces in Elisp, Vladimir Sedach, 2020/05/08
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/08
- Re: Proper namespaces in Elisp, Andrea Corallo, 2020/05/09
- Re: Proper namespaces in Elisp, Daniel Colascione, 2020/05/09