From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Syntax to trigger org-capture (Re: camel.el, for CamelCase links) Date: Sat, 7 Aug 2010 08:31:16 +0200 Message-ID: References: <87sk2v3blh.fsf@gnu.org> <59E9801E-4A60-47A9-B374-0D4492729F70@gilbert.org> <87zkx14bst.fsf@gmx.de> <87eiec8602.fsf_-_@gnu.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35500 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9n3-0004PH-OU for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 13:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhcwR-0004s3-QC for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 02:31:36 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:32952) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhcwR-0004rr-Jq for emacs-orgmode@gnu.org; Sat, 07 Aug 2010 02:31:35 -0400 Received: by eydd26 with SMTP id d26so3305115eyd.0 for ; Fri, 06 Aug 2010 23:31:34 -0700 (PDT) In-Reply-To: <87eiec8602.fsf_-_@gnu.org> 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: Bastien Cc: emacs-orgmode Mailinglist On Aug 6, 2010, at 11:06 AM, Bastien wrote: > 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. This is a pretty smart idea, going through capture for this. It would have the advantage that the new entry could be created without having to switch buffers. I just did push a change where [[file:xyz.org::My new heading]] will create a new entry when activated - but I will think about going through capture. Thanks! - Carsten > > What do you think? > > -- > Bastien > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten