From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Syntax to trigger org-capture (Re: camel.el, for CamelCase links) Date: Fri, 06 Aug 2010 11:06:37 +0200 Message-ID: <87eiec8602.fsf_-_@gnu.org> References: <87sk2v3blh.fsf@gnu.org> <59E9801E-4A60-47A9-B374-0D4492729F70@gilbert.org> <87zkx14bst.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhIt1-0002aL-1f for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 05:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhIsz-0007xP-Ro for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 05:06:42 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41128) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhIsz-0007xI-Mf for emacs-orgmode@gnu.org; Fri, 06 Aug 2010 05:06:41 -0400 Received: by wyg36 with SMTP id 36so8476793wyg.0 for ; Fri, 06 Aug 2010 02:06:40 -0700 (PDT) In-Reply-To: <87zkx14bst.fsf@gmx.de> (Sebastian Rose's message of "Thu, 05 Aug 2010 12:02:42 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode Mailinglist When you think of CamelCase and on-the-fly creating of non-existing files/headlines, it's just another way of *capturing* stuff. Why not defining some simple syntax to trigger the capture mechanism from special links? For example: "I write a reference to a >c:newfile which I can create later." - The ">c:newfile" is a link. - The ">c" is a link abbreviation. - The ">" part is the syntax for link abbrevations to trigger a capture. - The "c" part is the keybinding of capture template to call. - The "newfile" would be passed on as a variable for the (nth 3) of the template (we could have several variables separated by "#" This would combine the flexibility of on-the-fly file creation and of the capture mechanism, allowing multiple templates. What do you think? -- Bastien