From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leu Zhe Subject: How to make `file+function` to accept an argument in org-capture? Date: Sat, 18 Jun 2016 02:41:23 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114daa6ada762c0535846885 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE6CW-0001mk-U0 for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 22:41:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bE6CV-0006m9-Jy for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 22:41:36 -0400 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:34549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bE6CV-0006m5-FW for emacs-orgmode@gnu.org; Fri, 17 Jun 2016 22:41:35 -0400 Received: by mail-vk0-x229.google.com with SMTP id t129so137928139vka.1 for ; Fri, 17 Jun 2016 19:41:35 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --001a114daa6ada762c0535846885 Content-Type: text/plain; charset=UTF-8 I am starting to write an org-capture template with a `file+function` tag. It works pretty well if I put the function exactly with accordance to the documentation[1]. However, I am trying to make this function to accept an argument to let it find the store place programmably. I did some investigation on the org source, but it seems that it is not easy to work this out without hard code modification. Can this be a new feature of org-capture? or you guys have an alternative to implement this? [1] http://orgmode.org/manual/Template-elements.html#Template-elements --001a114daa6ada762c0535846885 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am starting to write an org-capture template with a `fil= e+function` tag. It works pretty well if I put the function exactly with ac= cordance to the documentation[1].=C2=A0
However, I am trying to make th= is function to accept an argument to let it find the store place programmab= ly.=C2=A0
I did some investigation on the org source, but it seem= s that it is not easy to work this out without hard code modification.

Can this be a new feature of org-capture? or you guys = have an alternative to implement this?

[1]=C2=A0http://orgmode.org/manual/Template-elements.html#Template-elements
--001a114daa6ada762c0535846885--