From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Can org-capture-templates be made more flexible? Date: Wed, 06 Nov 2013 09:15:46 +0100 Message-ID: <87fvr9gaws.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve2At-0006St-4W for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 07:25:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve2Al-0000AX-8T for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 07:25:31 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:49054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve2Al-0000AA-1a for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 07:25:23 -0500 Received: by mail-we0-f174.google.com with SMTP id u56so4773601wes.19 for ; Wed, 06 Nov 2013 04:25:22 -0800 (PST) In-Reply-To: (Leo Liu's message of "Sun, 13 Oct 2013 17:59:38 +0800") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leo Liu Cc: emacs-orgmode@gnu.org Hi Leo, Leo Liu writes: > I use https://github.com/leoliu/applescripts/blob/master/Notes.el to > pull notes from Notes.app on OS X into an org buffer. > > Naturally I also want to hook something into org-capture to create new > notes. However, it seems org-capture-templates requires a file-location > of some sort, which is unhelpful in this case. Any way to make > org-capture-templates more flexible? I'm not sure I understand your use-case clearly: you need to invoke org-capture with no target file? Thanks for further explanations, -- Bastien