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 17:25:34 +0100 Message-ID: <87li11lcr4.fsf@bzg.ath.cx> References: <87fvr9gaws.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve64o-00023M-Ju for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 11:35:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve64e-00059q-Sx for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 11:35:30 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:47757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve64e-00059C-N8 for emacs-orgmode@gnu.org; Wed, 06 Nov 2013 11:35:20 -0500 Received: by mail-wg0-f49.google.com with SMTP id x12so5070608wgg.4 for ; Wed, 06 Nov 2013 08:35:19 -0800 (PST) In-Reply-To: (Leo Liu's message of "Wed, 06 Nov 2013 23:33:50 +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: > On 2013-11-06 16:15 +0800, Bastien wrote: >> I'm not sure I understand your use-case clearly: you need to invoke >> org-capture with no target file? >> >> Thanks for further explanations > > Exactly. I need the ability to send the org buffer created by capture to > the Notes.app directly. The Notes.app handles the storage and > synchronisation between multiple devices. In that case, using a target like (function ...) could do -- did you try this? See (info "(org)Template elements") HTH, -- Bastien