From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: org-capture-templates constructed from three distinct functions Date: Sat, 12 Dec 2020 05:31:15 +0100 Message-ID: References: <87zh2j90jz.fsf@web.de> <87o8izzo2l.fsf@web.de> <87czzfznei.fsf@web.de> 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="17234"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 12 05:32:04 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 1knwZg-0004Ni-2E for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 05:32:04 +0100 Original-Received: from localhost ([::1]:46050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knwZe-0003LG-W6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 23:32:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knwZ2-0003L4-Kf for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 23:31:24 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:53869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knwYw-0005Ir-Mp for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 23:31:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607747475; bh=QxGiuyDp89lRRoJFt2ZLnezNrvhnKygmXX8qpWd457Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=f8utK2td6hoh1o1UKgmOyYO+BBuQokFWqZwybOyZs28GZ4DtbKYqc0Niqk6q2+crK VEiEP7Hn2b/MyTZxDzyytq5GR/7Q3+nX98wgjxCVruAH0R6ylSI4uwcQ0I+r+59HMJ PV6yZA8U48r9PSAz0PR+/Z/gO+Zg56jcLF29oYxM= 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-bs06.server.lan [172.19.170.174]) (via HTTP); Sat, 12 Dec 2020 05:31:15 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87czzfznei.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:9nHVRuFLzXBfhPRZ7TevLd7Q54zuNsLPvKjQJ+4fdPJPs3Q70LrC/zHoUUjTwCnALedHk Dv1LiD3NDWtO8kV7gs6kP9ZPe6dDLtolug3uQLbZAHKOs9RiCQI2NtYdjLZ7DS8oYqO+6EEHqHNR uzCuD0/FnBMnfBYNavrfAmSqvNy8CB54wwxagzNCxDTpndz+XclOGrO1JIUgqQWHarGDeWSmfFdZ qfykbR+3Ts1v18X5Um0Q9aD7Bk8+n9CdCxkR3Yn7u1getGHXdU/2smcqQKYuqcpFBrUc7Xw+0pxo UM= X-UI-Out-Filterresults: notjunk:1;V03:K0:HLTHD+v5lHQ=:52CZRcw0brlPYiH8MKtcaA jmTFYqzkp0ijGbE6SIQzbRiLHO+I63mv2wrW2MN7kYBlLii9BVW+QADLWFfhsR3aecJxHCOIp CJDkm+G7uRvZFbnqkm7aPFYJSW9O15iNI26pClnArfCT/t0lOrG6+lEGKoDpEVGGCoayKu49d 708bAePRxos5HnAmD+9bXP89EM7X8437EV8KuwSywLnQW5syR9oWOfEc87OxszUs0jHbzhYZD 0ZY7iOAaw5/Skp+05sZ7Lb/KN/K09eEb0Hb0DbjzLVGYh7+3rLzqxaHmABBHyQW624fsP22ds eIEXGQeS43BrhqvYB9C3cjy8paDe4W3mbwsbvxbU7hwR9PzlKIzfAQDpPCnCNWHvJvFobWE3z 4FJPtwqlJ+k07GZr3i09+Md3guILKr8xqqUyGcyrWmrpgDZGWOnLtXH+mD20K+Cx7fjgTTdmG 1Ev1jsryduvpikkaaJ7Gt2FATvuzw2mF2yKS7JESoWFrvKxPMNES3gD2w8dVtj130aLfwzJ6f 7QZlSGGIwY7IDVrI8Zq170kxggg57Oea6WwG+jaEuXMxGdZakCG4CjTjihXix7usqGMkhJq7K JZH2OvWZHft14= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@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:126286 Archived-At: I am working on two books now. (setq tmplt-tdr `( ("t" "Tdr Document") ; backquote construct ("t1" "Tdr: Ch01 Oceanic Microseismology" entry (file+headline "~/02histr/tdr/01ch.rcl.org" "Tdr Document") ,(concat "* Oceanic Microseismology\n" ; special marker " %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n" " Scheduled: %^T\n Entered: %T\n Link: %a\n") :clock-in t :clock-resume t :empty-lines 1) ("t2" "+ Ch02 Multi-Resolution Spectral Analysis" entry (file+headline "~/02histr/tdr/02ch.rcl.org" "Tdr Document") ,(concat "* Ch02 Multi-Resoln Spectr Anly\n" " %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n" " Scheduled: %^T\n Entered: %T\n Link: %a\n") :clock-in t :clock-resume t :empty-lines 1) )) ;; ---------------------------------------------------------------------- (setq tmplt-uwdiving `( ("d" "Decompression Theory") ; backquote construct ("da" "Decompression Theory" entry (file+headline "~/02histr/uwdiving/decomrth.rcl.org" "Decompression Theory") ,(concat "* Decompression Theory\n" ; special marker " %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n" " Scheduled: %^T\n Entered: %T\n Link: %a\n") :clock-in t :clock-resume t :empty-lines 1) ("r" "Recreational Diving") ("ra" "Rescue Diver" entry (file+headline "~/02histr/uwdiving/rescuedv.rcl.org" " Rescue Diver") ,(concat "* TODO\n" " %^{Select |Augment:|Include:|Clarify:|Organise:} %?\n" " Scheduled: %^T\n Entered: %T\n Link: %a\n") :clock-in t :clock-resume t :empty-lines 1) )) ;; ---------------------------------------------------------------------- (defun captr-tmplt-writing () (interactive) (message "tmplt-tdr") (setq org-capture-templates (tmplt-tdr tmplt-uwdiving) )) (captr-tmplt-writing) (global-set-key (kbd "H-c") #'captr-tmplt-writing) > Sent: Saturday, December 12, 2020 at 4:57 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: org-capture-templates constructed from three distinct funct= ions > > Christopher Dimech writes: > > > I thought to first append the three lists, then transfer them to > > org-capture-templates > > Sounds ok then, yes. > > Michael. > > >