From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Capture templates - using result from %^g twice? Date: Wed, 16 Nov 2016 09:03:59 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6vCT-0008KS-VN for emacs-orgmode@gnu.org; Wed, 16 Nov 2016 03:04:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6vCQ-0000EF-0p for emacs-orgmode@gnu.org; Wed, 16 Nov 2016 03:04:09 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:61269) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c6vCP-0000D8-P8 for emacs-orgmode@gnu.org; Wed, 16 Nov 2016 03:04:05 -0500 In-Reply-To: (Rainer M. Krug's message of "Mon, 14 Nov 2016 13:53:42 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hm - I seem to ask strange questions here. Any ideas? Rainer Rainer M Krug writes: > Hi > I have the following capture template and would like to re-use the tag > entered by %^g . I try to use %\2 but this is not working. > > Is there a way that I can re-use the tag entered by %^g and add it as a p= roperty? > > Thanks, > > Rainer > > ,---- > | ("s" "Change logged in buffer - for spreadsheet changes" > | entry (file+headline (lambda() (buffer-file-name)) "CHANGES"= )=20=20 > | "* %^{Header of CHANGES item} :%^g: > | :PROPERTIES: > | :SHEET: %\2 > | :AUTHOR: Rainer M Krug, Rainer@krugs.de > | :DATE: %T > | :END: > | %?") > `---- =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYLBL1AAoJENvXNx4PUvmC5Q4H/RsoKplP50CZRKQzVg9T2Y+m yKchECsTdL228i0FIMR0IZVHDvC2NDjXaGjggSCcrnmMKSE2YiaNRA9fWepgHFBW Hcls/hvrJAmC/cBwKAlr4jByz4P/0qbFc7JwOxp4cZRRvdrYI1ZqFG3BHGZvzywl fAPSrJGS5uN/FIVr6fIfXUMxQGZw2eU5vuvIhgNDdeUrMU01latcLLyc981+O2IM yJKRHep6lakS/SNTSKhTThvND9909O4OEH4ToBjGYxzFhKlTxXvrAhRVEw/cQ7s2 Q5U27tgKeCVtntV3yKlQJtkzyuf66reqhugIi+bFGsEuKmcz8UtQf2ingKJLVnQ= =7CtH -----END PGP SIGNATURE----- --=-=-=--