* How to use the file+function capture template?
@ 2013-10-09 11:11 Marcin Borkowski
2013-11-06 12:56 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2013-10-09 11:11 UTC (permalink / raw)
To: Org-mode mailing list
Hi all,
I'd like to configure my capture template so that I can select the
target automatically based on the thing captured (use case: I use
capture instead of Firefox bookmarks to store interesting links. I'd
like to store links to youtube videos I'd like to watch some day under
another headline). The manual says there is a file-function template,
but my question is: how do I use it? I imagine that the function
should move the point to the right place in the file buffer, right?
And how to access the content (like the %:link from the bookmarklet I
use) in the elisp function?
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use the file+function capture template?
2013-10-09 11:11 How to use the file+function capture template? Marcin Borkowski
@ 2013-11-06 12:56 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-06 12:56 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: Org-mode mailing list
Hi Marcin,
Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:
> I'd like to configure my capture template so that I can select the
> target automatically based on the thing captured (use case: I use
> capture instead of Firefox bookmarks to store interesting links. I'd
> like to store links to youtube videos I'd like to watch some day under
> another headline). The manual says there is a file-function template,
> but my question is: how do I use it? I imagine that the function
> should move the point to the right place in the file buffer, right?
Right.
> And how to access the content (like the %:link from the bookmarklet I
> use) in the elisp function?
AFAIK you can't, %:link is available only in the template itself.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-06 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 11:11 How to use the file+function capture template? Marcin Borkowski
2013-11-06 12:56 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.