From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Antoniotti Newsgroups: gmane.emacs.help Subject: Re: Need general info on common lisp, opinions sought Date: 03 Oct 2002 12:59:08 -0400 Organization: New York University Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <9e8ebeb2.0210030436.7d87eee@posting.google.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033666250 25492 127.0.0.1 (3 Oct 2002 17:30:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 17:30:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17x9oG-0006cz-00 for ; Thu, 03 Oct 2002 19:30:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17x9oc-0008HI-00; Thu, 03 Oct 2002 13:31:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.nyu.edu!typhoon.nyu.edu!53ab2750!not-for-mail Original-Followup-To: comp.lang.lisp Original-Newsgroups: gnu.emacs.help,gnu.utils.help,comp.lang.lisp Original-Lines: 64 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 128.122.47.83 Original-X-Trace: typhoon.nyu.edu 1033664245 128.122.47.83 (Thu, 03 Oct 2002 12:57:25 EDT) Original-NNTP-Posting-Date: Thu, 03 Oct 2002 12:57:25 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:105672 gnu.utils.help:4073 comp.lang.lisp:95378 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2190 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2190 gnuist007@hotmail.com (gnuist) writes: > Is it good to have the following line in .emacs file? > (require 'cl) I have it, although I think to remember that RMS disagrees. If you are using some (X)Emacs packages you are bound to get a top-level (require 'cl) anyway, so I would not worry too much. > Is it going to cause any tradeoff or only pure additions? Mostly pure additions. It definitively helps in the construction of packages. E.g. ELisp does not have `defstruct': you get that with the CL package. > How is common lisp different from emacs lisp? There is one fundamental difference and a lot of big, yet not so fundamental ones IMHO. The main one is that CL is "statically scoped", ELisp is "dynamically scoped". Other differences are CL has packages (read "modules" or "namespaces" - somethign that was somewhat re-invented for Guile). CL is "general purpose". ELisp is "general purpose within the confines of (X)Emacs" (of course (X)Emacs is the "total application", but that is another story). CL has provision for very efficient numerics and it is compiled to native assembly on your machine. > Where is the documentation on linux system? `C-h i' is your friend :) For CL start off at http://www.alu.org. > Is it more than it or less than emacs lisp? They serve different purposes. If you need to extend (X)Emacs then you should go with it. If you need to do more generic programming which required speed, then you should go with CL. > Which should I use and why? I need info on people's taste on this > subject. They serve different purposes. ELisp and CL are very simular. If you put (require 'cl) in your .emacs file, then you can write code that is very much like CL code. Of course YMMV. > Opinions sought! As long as you know mine are worth only .02E :) Cheers -- Marco Antoniotti ======================================================== NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th Floor fax +1 - 212 - 995 4122 New York, NY 10003, USA http://bioinformatics.cat.nyu.edu "Hello New York! We'll do what we can!" Bill Murray in `Ghostbusters'.