From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: About Emacs Modernisation Project Date: Sat, 05 Jun 2010 12:55:58 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <87sk52rxvl.fsf@rapttech.com.au> References: <143c6d28-4423-4e43-9fc5-c0fb3340043b@c11g2000vbe.googlegroups.com> <87ljazofkn.fsf@rapttech.com.au> <04eff456-349f-4840-b0f7-d1784f6b7058@d12g2000vbr.googlegroups.com> <87d3w6fy09.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291838248 13217 80.91.229.12 (8 Dec 2010 19:57:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 19:57:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 20:57:24 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQQ8g-0001bK-3y for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:57:22 +0100 Original-Received: from localhost ([127.0.0.1]:32775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQQ8f-0007dV-6X for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 14:57:21 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!news.alt.net!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:bBjy5+m/n4gNEmms+cJMSuAqUTI= Original-Lines: 42 Original-NNTP-Posting-Host: 556d9e0e.news.astraweb.com Original-X-Trace: DXC=LMPD6hX_GoS; 0`5D\QI41SL?0kYOcDh@Z5RIWMIBb; `U; :jf9eidEkR6YT:fLP<<@QFC; R[j2ZSK[ Original-Xref: usenet.stanford.edu gnu.emacs.help:178658 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75934 Archived-At: Joseph Brenner writes: > LanX writes: > >> I really enjoyed reading this blog on ejacs >> >> http://steve-yegge.blogspot.com/2008/11/ejacs-javascript-interpreter-for-emacs.html > > Thanks, I'd missed that one somehow. Steve Yegge is always... interesting. > > Some minor points: > > I get the feeling he doesn't know about the pp.el package. > (I don't think he would be impressed if he did. He thinks > there's something nasty about perl's Data::Dumper, too.) > > He doesn't understand the problem with cl.el. Using it in your > own code is indeed eminently "practical", but if you expect your > code to be included in the emacs core, you'll run into fears > born of the lack-of-encapsulation problem he talks about. > I have seen quite a few posts regarding the fact using 'cl will prevent you from being able to include your packages in emacs, but I'm not sure that is strictly true. I think that the actual restriction is that packages cannot be included in emacs that use 'cl at runtime. However, it seems that its OK to use them provided they are loaded at compile time and not runtime i.e. used with eval-when-compile. I just did a grep in the emacs lisp directory for (require 'cl) and got over 80 hits! It seems a number of standard emacs packages do in fact use 'cl. I didn't verify they were all only loaded at compile time and not run time. Tim P.S. this was current emacs from bzr repo -- tcross (at) rapttech dot com dot au