From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philippe M. Coatmeur Newsgroups: gmane.emacs.help Subject: Re: Dude where is my car ? Date: Sat, 26 May 2012 19:00:48 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1338055884 9758 80.91.229.3 (26 May 2012 18:11:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 May 2012 18:11:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 26 20:11:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SYLSR-0002u1-7N for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2012 20:11:19 +0200 Original-Received: from localhost ([::1]:60386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLSQ-00087V-Pf for geh-help-gnu-emacs@m.gmane.org; Sat, 26 May 2012 14:11:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLPT-00080m-5J for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYLPR-0000LC-6M for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:08:14 -0400 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:43711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYLPR-0000Ky-08 for help-gnu-emacs@gnu.org; Sat, 26 May 2012 14:08:13 -0400 Original-Received: by wibhm14 with SMTP id hm14so403257wib.12 for ; Sat, 26 May 2012 11:08:10 -0700 (PDT) Original-Received: by 10.216.228.29 with SMTP id e29mr1614969weq.153.1338055690153; Sat, 26 May 2012 11:08:10 -0700 (PDT) Original-Received: from moe.ocean.gmail.com ([41.140.159.192]) by mx.google.com with ESMTPS id z8sm10615196wiy.1.2012.05.26.11.08.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 May 2012 11:08:09 -0700 (PDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.1 Mule/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.177 X-Mailman-Approved-At: Sat, 26 May 2012 14:11:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84998 Archived-At: At Sat, 26 May 2012 10:51:26 +0800, Eric Abrahamsen wrote: > Since x equals ("" "Fri, 25 May 2012 23:49:58 +0200" > "Re: plopz" "1648") in your second example, the car of that is > "", and you can't take the car of that again, because > it fails to pass the listp test. I think where you're going wrong is > that nthcdr returns a list, so you can car it. Car itself returns an > atom, so you can't. > > Have I got that right? > > Also, the whole thing might be easier to read/debug if you use "first" > "second" "third" "fourth" to extract the list elements. Or, if that > seems too unscientific, then "nth", that also pulls a single element out > of a list. > > Eric I did now know of those "first, second, etc" things, thanks. Turns out I had to send the vars as such and then do the format at the last stage of the text processing, witch makes sense. Thanks for your patience. Philippe > > -- > GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) > of 2012-05-25 on pellet > >