[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 14:17:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> ;;; Shorthand: (("vl-" . "very-long-prefix-")
> ;;; ("yalp-" . "yet-another-long-prefix-"))
Adding such "local, read-time prefix remapping" does sound to me like
the best approach in the context of Elisp, indeed.
It avoids the problem of non-prefixed symbols being implicitly prefixed
with the name of the current package (which introduces the problem of
unintended addition of that prefix to symbols which were really meant to
stay without prefix), it should interact fairly well with existing
Elisp code, it doesn't need to know what's a definition or a use or
anything else of the sort, and it's hopefully simple and regular enough
that non-expert users wouldn't be endlessly confused by corner cases.
Stefan
- Re: Proper namespaces in Elisp, (continued)
Re: Proper namespaces in Elisp, Stefan Monnier, 2020/05/04
Re: Proper namespaces in Elisp, Tom Tromey, 2020/05/05
- Re: Proper namespaces in Elisp, João Távora, 2020/05/05
- Re: Proper namespaces in Elisp, Tom Tromey, 2020/05/06
- Re: Proper namespaces in Elisp, Stefan Monnier, 2020/05/06
- Re: Proper namespaces in Elisp, Tom Tromey, 2020/05/07
- Re: Proper namespaces in Elisp, João Távora, 2020/05/07
- Re: Proper namespaces in Elisp,
Stefan Monnier <=
- 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, 2020/05/07