From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: CommonLisp namespace system Date: Fri, 26 Jul 2013 22:46:11 +0200 Organization: nocrew Message-ID: <85k3kd2goc.fsf@junk.nocrew.org> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1374871587 12640 80.91.229.3 (26 Jul 2013 20:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2013 20:46:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 26 22:46:29 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 1V2ouD-0001Un-4F for ged-emacs-devel@m.gmane.org; Fri, 26 Jul 2013 22:46:29 +0200 Original-Received: from localhost ([::1]:40490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ouC-00079K-Pk for ged-emacs-devel@m.gmane.org; Fri, 26 Jul 2013 16:46:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ou8-000748-OX for emacs-devel@gnu.org; Fri, 26 Jul 2013 16:46:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2ou7-000073-Kb for emacs-devel@gnu.org; Fri, 26 Jul 2013 16:46:24 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ou7-00006q-DA for emacs-devel@gnu.org; Fri, 26 Jul 2013 16:46:23 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V2ou5-0001Qu-Ra for emacs-devel@gnu.org; Fri, 26 Jul 2013 22:46:21 +0200 Original-Received: from c-4957e555.012-14-67626717.cust.bredbandsbolaget.se ([85.229.87.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 22:46:21 +0200 Original-Received: from lars by c-4957e555.012-14-67626717.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Jul 2013 22:46:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-4957e555.012-14-67626717.cust.bredbandsbolaget.se User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:ltYLgpR7RoUGsaCdfHVzd4b39lY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:162170 Archived-At: Nic Ferrier writes: > Drew Adams writes: >> That said, it would be better to change the terminology for >> package.el - e.g., when we introduce CL-style "packages". > Sadly, no one is offering to do that. [...] Of course, I would be > very happy if you, or someone else, built a proper CommonLisp > namespacing system in Emacs. Then I wouldn't even have to implement > my lesser proposal. I have a rather complete implementation of CL packages written in Emacs Lisp. It's not intended for use with Emacs Lisp programs, but for CL programs running in Emacs. Also its own definitions lacks customary prefixes. And it somewhat crudely uses of a hash table to store the symbol-package mapping. Etc, etc. I would be intersting in bringing it up to shape for inclusion in Emacs, if there is any interest. Most of the code can be seen here: http://github.com/larsbrinkhoff/emacs-cl/blob/master/src/cl-packages.el http://github.com/larsbrinkhoff/emacs-cl/blob/master/src/cl-symbols.el