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 03:17:50 +0100 Message-ID: References: <87im97hk0p.fsf@zoho.eu> <87r1nvg486.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="4508"; 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 Sat Dec 12 03:18:34 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 1knuUU-00011e-95 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 03:18:34 +0100 Original-Received: from localhost ([::1]:33702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knuUT-0001au-A1 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 21:18:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knuTs-0001aZ-Co for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 21:17:56 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:52105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knuTp-0007bG-9a for help-gnu-emacs@gnu.org; Fri, 11 Dec 2020 21:17:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607739470; bh=wNd1yV9iDrdb9tYZ+0MQ9+cnso3kyF+jKiOvB5ENYDA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jGdKdauRrrl/LsaZEJxQ32XfTdOjeM1SSRjyxx+sDPlX5jg2XCFw0eaq3Q+08l0t1 m7JXz4ZRRaDSy78BzRY7510jCSHEJ9H2Xw/jEQTQ6vTREKvUoSa1b1MZl7hW5vIm8C vmMfDJBoekTl7+ySCb/UE6d/j6OxBHIWb49x/khk= 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 03:17:50 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87r1nvg486.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:h8xZxPB3NBz9NSdEWaHbwo2pcIz86Vj261mueRzzmBb0b0yl9Q0FNg60aNkCMn2DJrg3x pa44sULRUZmU5NUmTQce2vdgfcVWxdFLNTwKgczuBNy3N5/PCEJv0jaf8e65pone583DKEVsgwM/ 1IgqZoKAB8NEC1Yx0pMsDeEkTfFGzBPwwToTOP0G7MQxkBm8+T7suNsZlPoU3tjAQB1rwrc28THA E0nbZcExGBxMXBpiu1s3Ioa0ga3gPL4cD2izc1pzBuHlWqR7xv3CH4QDsyAycfyTkJUhWtUbgEVn DE= X-UI-Out-Filterresults: notjunk:1;V03:K0:93Gi63hSUPM=:BFGfIrVMv3n3YEzgWKU1Hm tVmzEWWxu6mHlEy529fGWd7t9usAgBz75J1kBhi9otAizx07zp0HgqDhMI6yxhAI+KdaoOeMP gk6OFAmvBWScsmVyaD8WcIhJYyUv1of/imgeQyGD8SWbHZahqsphoOCNHXFUSv6ai2YM73hzu m3sd9agkbpyh+BRQNhOI/dNRc3aQPhgrHmgCWezN2CN/jN37CA9/g9z6xAsHNopKwo7QixHn5 Tlti1F8oBT1hQKRrk2etNwxB090r+RnqJYdU5Nq4BJPt1nXNFt3Kb578RJ+WcjwOGpQbMRfxm /aq+dC5laeXYNDE2jI16D/BfZ9M1mOYP1VDeUz8dq6qIeYzWpJZf3PzyNJJSa5twZumjoP1ID YDbrnIaewF9kfy/bx/RSQzTRU++miGAl6YNMd/V/uYSGdOlA4GoCLmSUWUfZYK4YfeGQYg0t9 kmqB6mmZ9ovWcOSKNaH1TU/CO59DCY3tj+zWsDF7SOitHY6emJZxGirjrbT6gjqbhKIVGQD6/ WAjwR6dWXE76gcty9KCFAjlpWEKx235FOE/tYkO0NLPSHtWFgcp8YSTvDaiNmoge5dM4049s2 gACMuKkXYhINo= Received-SPF: pass client-ip=212.227.15.18; 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:126267 Archived-At: > Sent: Saturday, December 12, 2020 at 3:14 AM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: org-capture-templates constructed from three distinct funct= ions > > Christopher Dimech wrote: > > > This is how I interpreted your list comment > > OK, well, that was just playing with syntax and having fun at > your comment ("backquote construct), but be my guest... I wrote bullocks then. > > (setq captr-templ-tdr > > `(,@(list > > '("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) ))) > > > > (defun captr-tdr () > > (interactive) > > (setq org-capture-templates captr-templ-tdr)) > > > > (global-set-key (kbd "H-c") #'captr-tdr) > > To be honest that doesn't look good. Ha. > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >