[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: adding namespaces to emacs-lisp (better elisp?)
From:
Stefan Monnier
Subject:
Re: adding namespaces to emacs-lisp (better elisp?)
Date:
2013年7月26日 20:49:41 -0400
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> * `import': Importing a symbol into a package. Importing makes the
> symbol *present*, not just *accessible* in the importing package.
> If a different symbol with the same name is already accessible in the
> importing package then a user-correctable error is raised: `import'
> avoids letting one symbol shadow another.
Sounds like CL's approach requires symbols to be present in several
packages, which might require more changes than I'd like in the way
obarrays and symbols work.
AFAIK in Mathematica, the list of obarrays to search is just part of the
current reader state, not a property of obarrays, whereas it seems that
in CL the list of obarrays to search is stored in obarrays as a list of
"parent" obarrays (so the list of obarrays to search is changed when we
change the current obarray, whereas in Mathematica the two are unrelated).
I get the impression that Mathematica's design might be fairly easy to
reproduce with the current Emacs code, whereas CL's design would
probably require more changes.
Stefan
- RE: adding namespaces to emacs-lisp (better elisp?), (continued)
- RE: adding namespaces to emacs-lisp (better elisp?) , Drew Adams, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?) , Stefan Monnier, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?) , Nic Ferrier, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?) , Stefan Monnier, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?) , Nic Ferrier, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Stefan Monnier, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Nic Ferrier, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Stefan Monnier, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Pascal J. Bourguignon, 2013年07月27日
- RE: adding namespaces to emacs-lisp (better elisp?) , Drew Adams, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?),
Stefan Monnier <=
- RE: adding namespaces to emacs-lisp (better elisp?) , Drew Adams, 2013年07月26日
- Re: adding namespaces to emacs-lisp (better elisp?) , Lars Brinkhoff, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Pascal J. Bourguignon, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Lars Brinkhoff, 2013年07月31日
- Re: adding namespaces to emacs-lisp (better elisp?) , Pascal J. Bourguignon, 2013年07月27日
- Re: adding namespaces to emacs-lisp (better elisp?) , Stefan Monnier, 2013年07月27日
- RE: adding namespaces to emacs-lisp (better elisp?) , Drew Adams, 2013年07月27日
Re: adding namespaces to emacs-lisp (better elisp?) , Davis Herring, 2013年07月26日