From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: print out all members of a list Date: Tue, 01 Mar 2011 12:44:18 +0100 Message-ID: <4D6CDC12.6050904@easy-emacs.de> References: <4D6BBD34.6050407@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298979644 26647 80.91.229.12 (1 Mar 2011 11:40:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 11:40:44 +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 Mar 01 12:40:39 2011 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 1PuNwR-0001eY-S7 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 12:40:36 +0100 Original-Received: from localhost ([127.0.0.1]:60156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuNwR-0004Xe-Bt for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 06:40:35 -0500 Original-Received: from [140.186.70.92] (port=60627 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuNw0-0004TT-0T for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:40:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuNvy-0000B0-IN for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:40:07 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:53371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuNvy-0000Ao-58 for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 06:40:06 -0500 Original-Received: from [192.168.178.29] (brln-4db9ef68.pool.mediaWays.net [77.185.239.104]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MLkF5-1PvCsa4Ab5-000Xb4; Tue, 01 Mar 2011 12:40:04 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 In-Reply-To: <4D6BBD34.6050407@mousecar.com> X-Provags-ID: V02:K0:NhhicNmmjULGMIWUm60qeoR+m6cqWaW1CouTlwWPszw clzXp58AxXFufrx99AWM1tWEU5f0d91D92E/i/Ac03uK9O+27i LVxijMtKAGI6nDHLvuWrXi8aS2x77cInV7eFCbvD8kpxIcdmYB IKedmHDPEGmA0xq9yXfdEEkngvumqujw1V8BZaKSuxN2ZSrrN1 OLAJCgQc8vqathY8KVfxO/IAPHaEKrbDLl5zJN1+i0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 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:79623 Archived-At: Am 28.02.2011 16:20, schrieb ken: > (car '("one" "two" "three")) > > prints out "one" ... the first of the list. How to print out all > elements of the list (in order and with the double quotes around them? > I'm actually looking just to substitute something for "car" and not > write an entire function. Or is there no such thing? > > Thanks much. > > and still a form delivering with doublequotes... (let ((my-list (list "one" "two" "three"))) (dolist (elem my-list) (insert (format "\n\"%s\"" elem))))