emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Rainer M Krug
Subject: Re: [O] Capture templates - using result from %^g twice?
Date: Wed, 16 Nov 2016 09:03:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

Hm - I seem to ask strange questions here. Any ideas?

Rainer

Rainer M Krug <address@hidden> 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 
> 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
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature


reply via email to

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