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: Sat, 27 Jul 2013 17:56:33 +0100 Message-ID: <871u6k0wn2.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> <87ppu4dy8u.fsf@bzg.ath.cx> <87k3kcusa3.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374944651 23001 80.91.229.3 (27 Jul 2013 17:04:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2013 17:04:11 +0000 (UTC) Cc: tromey@redhat.com, rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 27 19:04:11 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 1V37ud-0005mg-7q for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 19:04:11 +0200 Original-Received: from localhost ([::1]:47502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V37uc-0000ay-RU for ged-emacs-devel@m.gmane.org; Sat, 27 Jul 2013 13:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V37uS-0000WP-Ga for emacs-devel@gnu.org; Sat, 27 Jul 2013 13:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V37nR-0000T3-H7 for emacs-devel@gnu.org; Sat, 27 Jul 2013 12:56:51 -0400 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:49219 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V37nJ-0000RL-Mc; Sat, 27 Jul 2013 12:56:37 -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 B3C32AC00BE; Sat, 27 Jul 2013 18:59:53 +0200 (CEST) Original-Received: from nics-xps (localhost [127.0.0.1]) by nferrier-Dell-System-XPS-L322X (Postfix) with ESMTP id 700018C1ED3; Sat, 27 Jul 2013 17:56:33 +0100 (BST) In-Reply-To: <87k3kcusa3.fsf@engster.org> (David Engster's message of "Sat, 27 Jul 2013 14:00:20 +0200") 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:162209 Archived-At: David Engster writes: > Bastien writes: >> You can have namespaces clashes too, it's purely conventional. >> >> So to me the only complaint is about symbols' length. >> >> But is that really such a big problem? >> >> The common practice for Emacs Lisp seems to favor explicit and long >> names over terse and hard-to-decipher ones. I guess the length of >> the symbols is more due to this (good) practice than to the length >> of prefixes. > > For me, the main problem with the length of symbols is that I > intuitively tend to avoid writing them. For instance, I usually avoid > using defstructs for nicely wrapping global state, because always > writing things like > > (setf (my-prefix-struct-somevalue my-prefix--struct) 'foobar) > > is just verbose and tiresome. This is half the reason I want to do something about namespaces. When names get very long indeed even the spaces start to disappear.