From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: "henri-biard@francemel fr" <henri-biard@francemel.fr>,
"help-gnu-emacs@gnu org" <help-gnu-emacs@gnu.org>
Subject: Re: Appending lists
Date: Mon, 14 Jun 2021 18:44:13 +0200 [thread overview]
Message-ID: <bhqmo2ryc07mj37uox9yigc4.1623689053578@email.android.com> (raw)
(defvar newlist
(append city district))
Il giorno 14 giugno 2021, alle ore 18:40, henri-biard@francemel.fr ha scritto:
I want to make a new list named newlist to be
(append city district)
and put the new list into a new list.
I want to end up the equivalent of
(defvar newlist
'( ("London" . 1) ("Paris" . 2) ("Madrid" . 3) ("Greenwich" . 1) ("Louvre" . 2) ("Centro" . 3) ) )
From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: henri-biard@francemel fr <henri-biard@francemel.fr>;
help-gnu-emacs@gnu org <help-gnu-emacs@gnu.org>
Subject: Re: Appending lists
Date: 14/06/2021 18:36:08 Europe/Paris
Then
(append city district)
does what you say you want. I suspect you want something else, though.
Il giorno 14 giugno 2021, alle ore 18:32, henri-biard@francemel.fr ha scritto:
From: Pierpaolo Bernardi <olopierpa@gmail.com>
To: henri-biard@francemel.fr <henri-biard@francemel.fr>;
help-gnu-emacs@gnu org <help-gnu-emacs@gnu.org>
Subject: Re: Appending lists
Date: 14/06/2021 18:24:21 Europe/Paris
It is not clear what you want to do. Give an example of inputs and the relative output.
Il giorno 14 giugno 2021, alle ore 18:13, henri-biard@francemel.fr ha scritto:
I would like to make a list that is composed of appending three lists together. Could use append,
but do not know how to put the result into a new list.
(defvar city
'( ("London" . 1) ("Paris" . 2) ("Madrid" . 3))
"docstring" )
(defvar district
'( ("Greenwich" . 1) ("Louvre" . 2) ("Centro" . 3) )
"docstring" )
next reply other threads:[~2021-06-14 16:44 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 16:44 Pierpaolo Bernardi [this message]
2021-06-15 0:56 ` Appending lists Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 1:47 ` henri-biard
2021-06-15 7:09 ` Emanuel Berg via Users list for the GNU Emacs text editor
-- strict thread matches above, loose matches on Subject: below --
2021-06-17 3:18 Drew Adams
2021-06-17 7:48 ` tomas
2021-06-18 23:38 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-18 23:50 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-19 6:57 ` tomas
2021-06-19 21:31 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-14 16:36 Pierpaolo Bernardi
2021-06-14 16:40 ` henri-biard
2021-06-14 18:21 ` Alexandr Vityazev
2021-06-15 0:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 8:27 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-15 9:18 ` tomas
2021-06-16 1:11 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 7:28 ` tomas
2021-06-16 9:13 ` Jean Louis
2021-06-16 9:32 ` tomas
2021-06-16 10:55 ` Jean Louis
2021-06-16 16:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 9:19 ` Jean Louis
2021-06-16 9:35 ` tomas
2021-06-16 10:57 ` Jean Louis
2021-06-16 16:55 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 11:16 ` Yuri Khan
2021-06-16 11:30 ` Jean Louis
2021-06-16 11:54 ` tomas
2021-06-16 17:31 ` Jean Louis
2021-06-16 23:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 23:41 ` Jean Louis
2021-06-16 13:01 ` Philip Kaludercic
2021-06-16 16:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 17:36 ` Jean Louis
2021-06-16 18:54 ` tomas
2021-06-16 21:24 ` Philip Kaludercic
2021-06-16 23:25 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-17 7:16 ` tomas
2021-06-17 7:14 ` tomas
2021-06-16 23:24 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 23:19 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 16:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 18:49 ` tomas
2021-06-16 21:40 ` Jean Louis
2021-06-16 22:35 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-16 23:02 ` Jean Louis
2021-06-17 0:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 23:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-17 7:20 ` tomas
2021-06-16 23:39 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 23:31 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 14:22 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-16 15:11 ` tomas
2021-06-16 15:31 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-16 15:48 ` tomas
2021-06-16 23:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-17 7:50 ` tomas
2021-06-18 23:47 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-19 2:35 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-19 6:52 ` tomas
2021-06-16 23:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-16 16:42 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-14 16:24 Pierpaolo Bernardi
2021-06-14 16:32 ` henri-biard
2021-06-14 16:08 henri-biard
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=bhqmo2ryc07mj37uox9yigc4.1623689053578@email.android.com \
--to=olopierpa@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=henri-biard@francemel.fr \
/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).