emacs-devel
[Top][All Lists]
Advanced

[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



reply via email to

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