emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal to change naming format to allow package-prefix/function-na


From: Sam Steingold
Subject: Re: Proposal to change naming format to allow package-prefix/function-name
Date: Thu, 02 Jan 2020 13:32:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

> * Richard Stallman <address@hidden> [2019-12-30 19:45:34 -0500]:
>
> In Common Lisp, name spaces do not behave cleanly.  The reason is that
> a symbol's name space has to be recognized when it is read, for the
> sake of symbols compared with eq.  This is too early to make good choices.

Could you please elaborate?

If you are referring to the need to wrap `require` in `eval-when`, then
CLISP dealt with it by handling `require` specially in compiler, so that

--8<---------------cut here---------------start------------->8---
(require 'foo)
(foo:define-foo ...)
--8<---------------cut here---------------end--------------->8---

works just fine.
https://clisp.sourceforge.io/impnotes/require.html

> To get clean behavior for name spaces, it is necessary to be able to
> choose a symbol's name space based on the execution context when code
> is run.  Some languages do that, and name spaces are simple and clear
> in those languages.

Again, could you please clarify what you mean here?

Thanks.

-- 
Sam Steingold (http://sds.podval.org/)
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://camera.org https://jij.org http://islamexposedonline.com
I'm a Lisp variable -- bind me!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]