From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) Date: Sun, 28 Jul 2013 08:22:05 +0100 Message-ID: <87wqobywrm.fsf@ferrier.me.uk> References: <874nbh2z3y.fsf@ferrier.me.uk> <87y58t1cih.fsf_-_@ferrier.me.uk> <87zjt9rwh7.fsf@fleche.redhat.com> <85aa2168-3fd2-42f0-b03f-74c3bc258545@default> <87ppu516qn.fsf@ferrier.me.uk> <87a9l81kvl.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374996144 2290 80.91.229.3 (28 Jul 2013 07:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jul 2013 07:22:24 +0000 (UTC) Cc: tromey@redhat.com, drew.adams@oracle.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 28 09:22:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3LJA-0005CX-AF for ged-emacs-devel@m.gmane.org; Sun, 28 Jul 2013 09:22:24 +0200 Original-Received: from localhost ([::1]:42646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LJ9-0004pM-QI for ged-emacs-devel@m.gmane.org; Sun, 28 Jul 2013 03:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LJ1-0004nh-8e for emacs-devel@gnu.org; Sun, 28 Jul 2013 03:22:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3LIv-00084g-FL for emacs-devel@gnu.org; Sun, 28 Jul 2013 03:22:15 -0400 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:43481 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3LIv-00083g-9q; Sun, 28 Jul 2013 03:22:09 -0400 Original-Received: from nferrier-Dell-System-XPS-L322X (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTP id 5486BAC05E7; Sun, 28 Jul 2013 09:25:26 +0200 (CEST) Original-Received: from nics-xps (localhost [127.0.0.1]) by nferrier-Dell-System-XPS-L322X (Postfix) with ESMTP id 31F458C27D8; Sun, 28 Jul 2013 08:22:05 +0100 (BST) In-Reply-To: (Richard Stallman's message of "Sat, 27 Jul 2013 19:52:09 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162216 Archived-At: Richard Stallman 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