emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Capture templates - using result from %^g twice?


From: Rainer M Krug
Subject: [O] Capture templates - using result from %^g twice?
Date: Mon, 14 Nov 2016 13:53:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

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 
property?

Thanks,

Rainer

,----
| ("s"  "Change logged in buffer - for spreadsheet changes"
|          entry   (file+headline (lambda() (buffer-file-name)) "CHANGES")  
|          "* %^{Header of CHANGES item}             :%^g:
| :PROPERTIES:
| :SHEET: %\2
| :AUTHOR:  Rainer M Krug, address@hidden
| :DATE: %T
| :END:
| %?")
`----


-- 
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:      address@hidden

Skype:      RMkrug

PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]