-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/07/2011 03:03 PM, Nick Dokos wrote:
> Rainer M Krug wrote:
>
>> But now I thought - OK - now I can add the state of the file, returned
>> by vc-state (this is working i a nother document in the org-document).
>> So I added:
>>
>> %(vc-state (bu
Rainer M Krug wrote:
> But now I thought - OK - now I can add the state of the file, returned
> by vc-state (this is working i a nother document in the org-document).
> So I added:
>
> %(vc-state (buffer-file-name (org-capture-get :original-buffer)))
>
> but I get the error
>
> Capture abort:
On 01/06/2011 11:44 PM, Carsten Dominik wrote:
>
> On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote:
>
>> Rainer M Krug wrote:
>>
>>>
>>> Hi
>>>
>>> I want to use a Capture Template to record changes to files under
>>> version control. Everything works as expected, but I would like to
>>> include t
Carsten Dominik wrote:
> > [fn:1] Is there an easier way to get the filename of the file I was
> > visiting when I initiated the capture? If not, should there be?
> > Perhaps
> > a %f escape?
>
> Hi Nick,
>
> you can use
>
> (buffer-file-name (org-capture-get :original-buffer))
>
> and we
On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote:
Rainer M Krug wrote:
Hi
I want to use a Capture Template to record changes to files under
version control. Everything works as expected, but I would like to
include the current revision in the template.
Therefore I tried the following:
* %T
Rainer M Krug wrote:
>
> Hi
>
> I want to use a Capture Template to record changes to files under
> version control. Everything works as expected, but I would like to
> include the current revision in the template.
>
> Therefore I tried the following:
>
> * %T %? at %a by Rainer M Krug, email