Josiah Schwab <jsch...@gmail.com> writes:

> Hi David,
>
>> i want to write a piece of code as a 'template', which generates TODO
>> using capture template, and inserts into the todo a LINK TO THE
>> LOCATION, from which I have called the org-capture.
>
> Have you looked at "9.1.3 Capture templates" in the documentation?
> http://orgmode.org/manual/Capture-templates.html
>
> It seems to me that the example TODO entry given (using "%a" in the
> template) will do what you describe:
>
> ,----
> | During expansion of the template, %a has been replaced by a link to
> | the location from where you called the capture command. This can be
> | extremely useful for deriving tasks from emails, for example.
> `----
>
> Best,
> Josiah

Right! Thanks for hint. I did not see this one. Does exactly what I
wanted to achieve

nice weekend

.d.



Reply via email to