From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: completing-read Date: Wed, 28 May 2014 19:17:19 -0700 (PDT) Message-ID: <34c219ed-5a1a-42f6-b449-67c37d87e5b5@default> References: <1401299088212-323117.post@n5.nabble.com> <87wqd573iq.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401329883 10030 80.91.229.3 (29 May 2014 02:18:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 02:18:03 +0000 (UTC) To: lee , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 04:17:56 2014 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 1Wppul-0007fv-GZ for geh-help-gnu-emacs@m.gmane.org; Thu, 29 May 2014 04:17:55 +0200 Original-Received: from localhost ([::1]:45805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wppul-0008Th-2m for geh-help-gnu-emacs@m.gmane.org; Wed, 28 May 2014 22:17:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WppuR-0008T2-P4 for help-gnu-emacs@gnu.org; Wed, 28 May 2014 22:17:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WppuG-00040c-FB for help-gnu-emacs@gnu.org; Wed, 28 May 2014 22:17:35 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:50649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WppuG-00040G-8Z for help-gnu-emacs@gnu.org; Wed, 28 May 2014 22:17:24 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4T2HMwu010466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 May 2014 02:17:23 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s4T2HLwL028713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 May 2014 02:17:22 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4T2HLSA012522; Thu, 29 May 2014 02:17:21 GMT In-Reply-To: <87wqd573iq.fsf@yun.yagibdah.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:97926 Archived-At: > > (completing-read > > "Complete a foo: " > > '(("foobar1" 1) ("barfoo" 2) ("foobaz" 3) ("foobar2" 4)) > > nil t "fo") > > Shouldn`t that, nowadays, be more like '(("foobar1" . 1) ...'? ("foobar" 2) is the same as ("foobar" . (2)), that is, a cons whose cdr is the list (2). Nothing non-nowadays about such a beast. > So you cannot create a list like this (anymore)? '("foobar" 2) `("foobar" ,(length "ab")) (list (symbol-name 'foobar) (1+ 1)) ...