From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to get list of vectors with value from file content...
Date: Thu, 2 Sep 2010 14:15:11 -0700 (PDT) [thread overview]
Message-ID: <03e47ece-0ccb-4b2b-9032-99c364692436@e14g2000yqe.googlegroups.com> (raw)
In-Reply-To: i5o104$u49$1@news.onet.pl
On Sep 2, 4:15 am, Marc Mientki <mien...@nonet.com> 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
next prev parent reply other threads:[~2010-09-02 21:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-02 10:16 how to get list of vectors with value from file content Xah Lee
2010-09-02 11:15 ` Marc Mientki
2010-09-02 21:15 ` Xah Lee [this message]
2010-09-02 12:42 ` TheFlyingDutchman
2010-09-02 13:00 ` TheFlyingDutchman
2010-09-02 13:29 ` TheFlyingDutchman
2010-09-02 14:31 ` TheFlyingDutchman
2010-09-02 21:02 ` Xah Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=03e47ece-0ccb-4b2b-9032-99c364692436@e14g2000yqe.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).