From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: To be a list or not Date: Sat, 29 Dec 2007 10:47:45 +1300 Message-ID: <18293.28417.122146.27016@kahikatea.snap.net.nz> References: <477568AC.7090304@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198879694 29487 80.91.229.12 (28 Dec 2007 22:08:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Dec 2007 22:08:14 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 28 23:08:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J8NNQ-0007Cq-Sy for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 23:08:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8NN5-0005zJ-Od for ged-emacs-devel@m.gmane.org; Fri, 28 Dec 2007 17:08:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8NN1-0005vW-1r for emacs-devel@gnu.org; Fri, 28 Dec 2007 17:07:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8NMz-0005sH-5W for emacs-devel@gnu.org; Fri, 28 Dec 2007 17:07:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8NMy-0005s5-W7 for emacs-devel@gnu.org; Fri, 28 Dec 2007 17:07:57 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8NMy-000325-Jw for emacs-devel@gnu.org; Fri, 28 Dec 2007 17:07:56 -0500 Original-Received: from kahikatea.snap.net.nz (118.31.255.123.static.snap.net.nz [123.255.31.118]) by viper.snap.net.nz (Postfix) with ESMTP id 7B0E63D862F; Sat, 29 Dec 2007 10:47:46 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 225E68FC6D; Sat, 29 Dec 2007 10:47:46 +1300 (NZDT) In-Reply-To: <477568AC.7090304@gmail.com> X-Mailer: VM 7.19 under Emacs 23.0.50.17 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85565 Archived-At: > The first of these complaints that it wants a list, the second says is > is a list: No it doesn't. > ;; (length '(prop . val)) Debugger entered--Lisp error: (wrong-type-argument listp val) length((prop . val)) So it's saying that val should be a list: (length '(prop . (val))) 2 '(prop . (val)) (prop val) > ;; (listp '(prop . val)) -- Function: length sequence This function returns the number of elements in SEQUENCE. If SEQUENCE is a dotted list, a `wrong-type-argument' error is signaled. I would start with the manual. -- Nick http://www.inet.net.nz/~nickrob