emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: How to use the file+function capture template?
Date: Wed, 9 Oct 2013 13:11:37 +0200	[thread overview]
Message-ID: <20131009131137.6424f18f@aga-netbook> (raw)

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

             reply	other threads:[~2013-10-09 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09 11:11 Marcin Borkowski [this message]
2013-11-06 12:56 ` How to use the file+function capture template? Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131009131137.6424f18f@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).