all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Appending lists
@ 2021-06-14 16:08 henri-biard
  2021-06-14 16:58 ` [External] : " Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: henri-biard @ 2021-06-14 16:08 UTC (permalink / raw)
  To: help-gnu-emacs


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" )






^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [External] : Appending lists
  2021-06-14 16:08 Appending lists henri-biard
@ 2021-06-14 16:58 ` Drew Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2021-06-14 16:58 UTC (permalink / raw)
  To: henri-biard@francemel.fr, help-gnu-emacs@gnu.org

> Could use append, but do not know how to put
> the result into a new list.

There's nothing wrong with asking on this help list.
That's what it's for.  But do yourself a favor and
learn also how to *ask Emacs*.

To ask Emacs how to learn Elisp:

Begin by reading some of the manual "Introduction to
Programming in Emacs Lisp".  It takes a reader by the
hand and gently introduces Elisp.  It's provided with
Emacs, as part of Emacs.

You can access it in Emacs using `C-h i' and choosing
this menu item:

 Emacs Lisp Intro: (eintr).  A simple introduction to
                             Emacs Lisp programming.

And you can access it on the web here:

 https://www.gnu.org/software/emacs/manual/html_node/eintr/
___


See also the Emacs Wiki page about learning Elisp:

  https://www.emacswiki.org/emacs/LearnEmacsLisp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-14 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-14 16:08 Appending lists henri-biard
2021-06-14 16:58 ` [External] : " Drew Adams

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.