From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Capture templates - using result from %^g twice? Date: Mon, 14 Nov 2016 13:53:42 +0100 Message-ID: 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]:48779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6Glm-0004gH-Gv for emacs-orgmode@gnu.org; Mon, 14 Nov 2016 07:53:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6Gli-0000Ms-Lk for emacs-orgmode@gnu.org; Mon, 14 Nov 2016 07:53:54 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:60397) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c6Gli-0000Mh-Bv for emacs-orgmode@gnu.org; Mon, 14 Nov 2016 07:53:50 -0500 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 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 pro= perty? 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, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYKbPaAAoJENvXNx4PUvmCrOcH/3hmQ2Oh3yNrqCqXdQUSu4TF JNOjT8Jx2betUwYT3XLMROVs4k4owP7LtIqGL2F0DWASu9tsDW4MM4WvJW5fIQRl 8jIo+I8RXTm0J9T7UShEv0MJYRNlinUfbuFGQ+SUaIt011seDKowHewXETWZQ7G8 v9euljXsI4idZFShuP+BRRmSnoI8VZa7UL+wRInYuUPEO3rLJyZvIESqXo+aTo1N YrL1I/n2e4Hmh2d+G5+i1JcvQSNOAi5QcamJebe7Ts8CAap2VqHC5KPI/wkCQCgb tEo1yNCbr0rm7/A3BV9na9SccRi3ZCxauj68Azrm2hfE3ZwdqxBRrw4cdzy4zLs= =UCZf -----END PGP SIGNATURE----- --=-=-=--