[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp
From: |
Nic Ferrier |
Subject: |
Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) |
Date: |
Sun, 28 Jul 2013 08:22:05 +0100 |
Richard Stallman <address@hidden> writes:
> [ To any NSA and FBI agents reading my email: please consider
> [ whether defending the US Constitution against all enemies,
> [ foreign or domestic, requires you to follow Snowden's example.
>
> They want to avoid having long names for symbols or name clashes for
> symbols.
>
> Emacs provides lots of ways to type the long names with fewer
> characters. That is a better solution because it doesn't complicate
> the meaning of code.
It does. It's very good like that.
But it doesn't provide any ways for reading the long names.
> If people don't want to have shorter names appear in the code,
> then I suggest a system of read-time aliases:
>
> (def-read-alias 'foo 'foo:bar)
>
> would tell the reader to replace `foo' with `foo:bar':
>
> 'foo => foo:bar
>
> `:::' could inhibit the alias processing for the symbol that follows.
>
> ':::foo => foo
Is this meant to be buffer-local/file-local somehow? Because otherwise
there is a name space pollution problem.
Nic
- RE: CommonLisp namespace system, (continued)
- RE: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Drew Adams, 2013/07/26
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Bastien, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), David Engster, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/27
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)),
Nic Ferrier <=
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Jambunathan K, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/28
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/29
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Nic Ferrier, 2013/07/29
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Richard Stallman, 2013/07/29
- Re: CommonLisp namespace system, Lars Brinkhoff, 2013/07/27
- RE: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Drew Adams, 2013/07/26
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Juanma Barranquero, 2013/07/26
- Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)), Pascal J. Bourguignon, 2013/07/26