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