From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: reading a variable from the user Date: Wed, 10 Oct 2012 23:08:49 -0700 Message-ID: References: <1349853875855-266778.post@n5.nabble.com> <1349917790397-266847.post@n5.nabble.com> <87y5jdn0wi.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041827f8a2fd9c04cbc2673c X-Trace: ger.gmane.org 1349935745 20640 80.91.229.3 (11 Oct 2012 06:09:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2012 06:09:05 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 11 08:09:12 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 1TMBxH-0003ow-HB for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Oct 2012 08:09:11 +0200 Original-Received: from localhost ([::1]:45393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMBxB-0007wH-48 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Oct 2012 02:09:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMBx5-0007wC-KL for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 02:09:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMBwx-0007nF-Dz for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 02:08:59 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:61888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMBwx-0007n6-6L for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 02:08:51 -0400 Original-Received: by mail-wg0-f49.google.com with SMTP id gg4so850621wgb.30 for ; Wed, 10 Oct 2012 23:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BCyFyZ2hZSa5GqOrCdTegBsnjZRRm2bYXO+Qxqhmppw=; b=usvSxfnQcdqGqsbe5nA9UsUQF5Gosmm2LHN/4/wpb6H7fsWTms8QXce+fbCjvnhEk3 DjtPMCYxW88IootLpFT/WK7F0MgKly54b6aB773epK7NnPmZ3WqZgSpOkI1J9mQ0Qc1B cFNmmDntuAKsS+a8ClZZWzb3DsYRbmElXg5FKU68wB+Vo2LJxHCdHjO6PEN8nDpbbKzs PJpGiulSvMZf0GoNarTg6GcJM/yizhn+wdvfrB0TzqFN+124q0Uu35aUVCK0qxmLN3jN D+cVBFKbp/0neIZxrifyzpMn29woMuOtaucWu27zYI/Aq8mCHSK1iAZvyFDBEM3I1RMG bzVA== Original-Received: by 10.180.8.134 with SMTP id r6mr18056005wia.18.1349935729671; Wed, 10 Oct 2012 23:08:49 -0700 (PDT) Original-Received: by 10.194.42.1 with HTTP; Wed, 10 Oct 2012 23:08:49 -0700 (PDT) In-Reply-To: <87y5jdn0wi.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 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:87164 Archived-At: --f46d041827f8a2fd9c04cbc2673c Content-Type: text/plain; charset=ISO-8859-1 On Wednesday, October 10, 2012, Eric Abrahamsen wrote: > The difference, as far as I know, is that in the first method you can > have multiple values per list (so something like (william "William" > "White" "xx@xxxxxx.org")), whereas the dotted cons cell notation (the > second one) only allows two atoms. FYI, '(william "William" "White" "xx@xxxxxx.org") is exactly the same as '(william . ("William" "White" "xx@xxxxxx.org")) For that matter it's the same as '(william . ("William" . ("White" . (" xx@xxxxxx.org" . nil)))). A list is just a chain of cons cells. -- -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced. --f46d041827f8a2fd9c04cbc2673c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wednesday, October 10, 2012, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> The diff= erence, as far as I know, is that in the first method you can
> have = multiple values per list (so something like (william "William" > "White" "xx@xxxxxx.org= ")), whereas the dotted cons cell notation (the
> second one= ) only allows two atoms.

FYI, '(william "William" &quo= t;White" "xx@xxxxxx.org"= ;) is exactly the same as '(william . ("William" "White&= quot; "xx@xxxxxx.org"))

For that matter it's the same as '(william . ("William&quo= t; . ("White" . ("xx@xxxxxx= .org" . nil)))). =A0A list is just a chain of cons cells.

-= -
-PJ

Gehm's Corollary to Clark's Law: Any technology distingu= ishable from
magic is insufficiently advanced.
--f46d041827f8a2fd9c04cbc2673c--