From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: Appending to a list Date: Mon, 14 Dec 2020 03:54:37 +0100 Message-ID: References: <877dpljtwg.fsf@fastmail.fm> <87sg89v1f7.fsf@telefonica.net> <87mtyhxovn.fsf@zoho.eu> <871rftxlwl.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33064"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 14 03:55:03 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koe0s-0008RJ-Tr for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 03:55:02 +0100 Original-Received: from localhost ([::1]:38344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koe0r-0006Z1-Ui for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 21:55:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koe0Z-0006Yj-0E for help-gnu-emacs@gnu.org; Sun, 13 Dec 2020 21:54:43 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:34387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koe0W-0000mi-Kl for help-gnu-emacs@gnu.org; Sun, 13 Dec 2020 21:54:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607914477; bh=IDpy3Vr62GZ5tIwC8fEyKCNWBsxEWx/RuP7T1R1Xu/M=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=GkVhFbC7D9AwsI8T7L2kpzuRdNbToJ7oHm36UROTkzPgpNmkzTpS21Woe9zFWkmz7 b6E5tibyfGGF0/6zySmeltif8drCJWdgwXYfJT8BdQtyTQ2D4krUZaIl0IExnXjLYi xsIbB5fTsgWSAnK6eiSVK87CSJWIh7cThC0UkXOY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Mon, 14 Dec 2020 03:54:37 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <871rftxlwl.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:0wuCXGmUKqjXvk7eCuVxMlmAnc2x0D9J/SzZb1oTwZ5JgfG+tJoe6tqHQD3Ga9s1aEYWq aqZ6jphdvdDSd8ctusgthsIzu7ZEZFNH06RS7KBGelIrSdLaRMzk5bMW1DvDSnTxSQAQQGbnKBhr PCidAsqms0rW6gDHOBQE0yXLHTRjgHx32tk00Pk085STSB4bA0GqVuc3OjFkK2wY4i7+/BNae1SY XLQuaDpHeRoyEfhfv224MDQRQcjU0Zmn10T+d+oCCMEJlK5gykvv37BCT9gj03JJzVbxnvP2NyIp wA= X-UI-Out-Filterresults: notjunk:1;V03:K0:HBRGz2nV3eY=:/LFyzdTpJg/XcQljWxu32b hbvYSDLbtiY4SvIFwk00+pk+prQcoGibob3WRE1NOs5wQByAixs/mN2VvPSdeQKE7D2IfDIyz 2CpdUe1uUVY0DUy01An256cpPRZpBv9A/fCSCEmIe3OJcvpJTHEtJIKoEI66y46OSDeANoPEl W4RXivQLv0kAY7sTc7avV6xHwEMO7GvOz2NQnphmUKodhRHPJaPq6vOP4pcb4jcWdFpLhFf7F UK1SqEdoW/3DHcSffkAeWzG6CGfpSw9fKQTrjtvjdeoe5Lvdi8T6vPvRQGN6NzlK8v8clb7WW 4qOjy3Zbt4YfT9FLARUCv/HGvjOF1dcWO9GztYrszeugcTwxoveaymIm6ZQNQA3KYK7tMqO5i Ww1NKBziR5S5W9PUfMG+Tn8A9jb9zW1t0ZGSpCujtCv3of6qCBWGg7yRR/7SmvUQw2OpJ1FKG hzrC2wfyyGZIc8Jr0LuFa0Ny4B6JHrAf33t2LzUikBliIhXlgMVr9djID0K+PHmgnGoFeJrBd irhA4+fFf2UinLVt910ZGuaTmqAx6Nsly+tEFe4xK2MCf2xkqAF44ulJnjE9fwFKWNajAkATZ oJw7DLeEflmns= Received-SPF: pass client-ip=212.227.15.15; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126344 Archived-At: Consider I have the following two templates, and want a make a list named "tmplt-animal", which I can then pass to org-capture-templates. (setq org-capture-templates tmplt-animal) How can I use "push" to do that? =2D------- template code -------- (setq tmplt-bird `( ("1" "Toucan" entry (file "~/animal.org") ,(concat "* Toucan\n" " Species:\n" " Region: %?\n" " Brief:\n" " Entered: %T\n")) ("2" "King Fisher" entry (file "~/animal.org") ,(concat "* King Fisher" " Species:\n" " Region: %?\n" " Brief:\n" " Entered: %T\n")) )) (setq tmplt-Amphibian `( ("3" "Frog or Toad" entry (file "~/animal.org") ,(concat "* Frog or Toad\n" " Species:\n" " Region: %?\n" " Brief:\n" " Entered: %T\n")) ("4" "Salamander" entry (file "~/animal.org") ,(concat "* King Fisher" " Species:\n" " Region: %?\n" " Brief:\n" " Entered: %T\n")) )) > Sent: Monday, December 14, 2020 at 1:37 AM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Appending to a list > > steve-humphreys wrote: > > > I don't mind inserting at the beginning if that makes things > > more efficient. :) > > In your particular use case it will probably never be an issue > of efficiency but as a programmer I guess the more details you > know and understand and can put to good use the better... > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >