From: An Liu <sourceonly@gmail.com>
To: David Masterson <dsmasterson92630@outlook.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Elisp - quoting or not?
Date: Sat, 5 Dec 2020 07:12:59 +0100 [thread overview]
Message-ID: <CAAzVxgN4j-veqSYuczJ3R43Y=S0M0fbU-8RvcVQtdLvhoSpgVw@mail.gmail.com> (raw)
In-Reply-To: <CAAzVxgORa-jNsrkfDG_qsa3nVo2gs-Suq5Z41edNNKtfoOE2_g@mail.gmail.com>
sorry, typo
abcd `(ab cd) should be
abcd `(,ab ,cd)
On Sat, Dec 5, 2020 at 7:12 AM An Liu <sourceonly@gmail.com> wrote:
> Hi,
> is it what you want?
>
> (setq ab '("a". "b")
> cd '("c". "d")
> abcd `(ab cd))
>
>
> On Sat, Dec 5, 2020 at 6:16 AM David Masterson <
> dsmasterson92630@outlook.com> wrote:
>
>> I give up -- what's the proper way of doing this?
>>
>> (setq ab '("a" . "b")
>> cd '("c" . "d")
>> abcd '(ab cd))
>>
>> What I want is a result for abcd to be '(("a" . "b") ("c" . "d")). I
>> imagine I need to use cons/car/cdr, but I'm not sure how.
>>
>> --
>> David Masterson
>>
>>
>
> --
> Liu An
>
--
Liu An
next prev parent reply other threads:[~2020-12-05 6:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-05 5:15 Elisp - quoting or not? David Masterson
2020-12-05 6:12 ` An Liu
2020-12-05 6:12 ` An Liu [this message]
2020-12-05 8:57 ` tomas
2020-12-05 12:31 ` Pankaj Jangid
2020-12-05 6:14 ` Alexis Roda
2020-12-06 2:11 ` David Masterson
2020-12-05 6:21 ` Teemu Likonen
2020-12-05 6:42 ` Arthur Miller
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAzVxgN4j-veqSYuczJ3R43Y=S0M0fbU-8RvcVQtdLvhoSpgVw@mail.gmail.com' \
--to=sourceonly@gmail.com \
--cc=dsmasterson92630@outlook.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.