From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Creating a list Date: Thu, 19 Nov 2009 12:41:41 +0100 Organization: Organization?!? Message-ID: <874ooqkah6.fsf@lola.goethe.zz> References: <87k4xnge1t.fsf@Traian.DecebalComp> <87y6m2kj3m.fsf@lola.goethe.zz> <874ooqhjaw.fsf@Traian.DecebalComp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258634549 11620 80.91.229.12 (19 Nov 2009 12:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 12:42:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 19 13:42:18 2009 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 1NB6Kz-0005z9-Q0 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Nov 2009 13:42:13 +0100 Original-Received: from localhost ([127.0.0.1]:49899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB6Kz-0004KQ-8N for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Nov 2009 07:42:13 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:s+2OJsxJHr6awNGWxbCY+lGwuiI= Original-Lines: 21 Original-NNTP-Posting-Date: 19 Nov 2009 12:41:41 CET Original-NNTP-Posting-Host: a2842173.newsspool2.arcor-online.net Original-X-Trace: DXC=>VCn=L\9G\E0YVY]kmLTlDA9EHlD; 3YcB4Fo<]lROoRA8kF5MOK` 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:69917 Archived-At: Cecil Westerhof writes: > David Kastrup writes: > >>> At the moment I create a list with: >>> (setq ret-val (cons total-amount (cons current-amount ()))) >>> I thought about doing it with: >>> (setq ret-val (cons total-amount '(current-amount))) >>> >>> But then the second value is the string current-amount >> >> Wrong. The _symbol_ current-amount. > > When evaluating I got: > (1570378.2570192777 current-amount) > That is why I thought I got the string. A string would have quote marks around it. -- David Kastrup