emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Can org-capture-templates be made more flexible?


From: Leo Liu
Subject: Re: [O] Can org-capture-templates be made more flexible?
Date: Thu, 07 Nov 2013 11:58:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9)

On 2013-11-07 00:25 +0800, Bastien wrote:
> In that case, using a target like (function ...) could do -- did you
> try this?

thanks for the pointer. I glanced at this option while reading the
org-capture-templates' doc.

>From org-capture-set-target-location:

   ((eq (car target) 'function)
    (funcall (nth 1 target))
    (org-capture-put :exact-position (point))
    (setq target-entry-p (and (derived-mode-p 'org-mode) (org-at-heading-p))))

and org-capture-finalize calls save-buffer I think this option requires
a file still.

Thanks,
Leo



reply via email to

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