From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tyler Newsgroups: gmane.emacs.help Subject: Re: Basic Emacs Lisp question Date: Tue, 29 Apr 2008 18:14:54 -0300 Message-ID: <87zlrctlbl.fsf@blackbart.sedgenet> References: <67p1csF2qe3gfU1@mid.dfncis.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209498056 6117 80.91.229.12 (29 Apr 2008 19:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2008 19:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 21:41:23 2008 connect(): Connection refused 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.50) id 1JqvhX-0007pZ-Vm for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2008 21:41:20 +0200 Original-Received: from localhost ([127.0.0.1]:53524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jqvgq-0006hE-Qc for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2008 15:40:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!news.aliant.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:8HZqUPfcGiNhhrbg4Ko2mzBZ9Ug= Original-Lines: 33 Original-NNTP-Posting-Host: 142.177.123.93 Original-X-Complaints-To: abuse@aliant.net Original-Xref: shelby.stanford.edu gnu.emacs.help:158266 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:53630 Archived-At: Matthias Pfeifer writes: > What is the difference between > > (list 0 nil -1) > > and > > '(0 nil -1) > In this instance, nothing. However, the '(...) form leaves it's arguments unevaluated (quoted), while (list ...) evaluates them. Since 0, nil and -1 all evaluate to themselves there is no difference in this case. However, the following two statements are different: (list 0 fill-column -1) '(0 fill-column -1) A good place to start learning is the Introduction to Programming in Emacs Lisp, which is available from gnu.org, if it isn't already present in your info directory (i.e., C-h i m emacs lisp intro ). HTH, Tyler -- Tired of spyware? Try Firefox: www.firefox.com