From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: how to get list of vectors with value from file content... Date: Thu, 2 Sep 2010 14:15:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <03e47ece-0ccb-4b2b-9032-99c364692436@e14g2000yqe.googlegroups.com> References: <90f84f94-37e7-4dc7-ade3-5ef12ad6ce63@b4g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291869934 11845 80.91.229.12 (9 Dec 2010 04:45:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 04:45:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 05:45:30 2010 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 1PQYNl-0000ek-Gz for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:45:29 +0100 Original-Received: from localhost ([127.0.0.1]:48699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQYNh-0002h5-9V for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:45:25 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!e14g2000yqe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 67.180.85.8 Original-X-Trace: posting.google.com 1283462111 13802 127.0.0.1 (2 Sep 2010 21:15:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 2 Sep 2010 21:15:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e14g2000yqe.googlegroups.com; posting-host=67.180.85.8; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:181093 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:76673 Archived-At: On Sep 2, 4:15=A0am, Marc Mientki wrote: > Am 02.09.2010 12:16, schrieb Xah Lee: > > > a pure academic question on emacs lisp. > > > basically, i want to set a variable who's value is a list of vectors, > > each vector is a pair. > [...] > > (2) elisp vector elements are not evaluated. So, i cannot simply write > > > (setq myPairList (list [A B] [A B] [A B]) ) > > > where the A B are already variables. > > > i need to use aset. > > Why vectors? Why not alist (pairs)? humm... i think that might work too. This myPairList is fed to a function i wrote that do find/replace pairs. When i wrote that function, i don't remember whether the i made input to accept a alist as well... Xah