emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: How to use the file+function capture template?
Date: Wed, 06 Nov 2013 13:56:30 +0100	[thread overview]
Message-ID: <87k3gladtt.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20131009131137.6424f18f@aga-netbook> (Marcin Borkowski's message of "Wed, 9 Oct 2013 13:11:37 +0200")

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

      reply	other threads:[~2013-11-06 12:56 UTC|newest]

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

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=87k3gladtt.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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).