emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-store-link programmatically?


From: Josiah Schwab
Subject: Re: [O] org-store-link programmatically?
Date: Fri, 01 Nov 2013 15:26:40 -0700
User-agent: mu4e 0.9.9.5; emacs 24.3.1

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



reply via email to

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