|
From: | Carsten Dominik |
Subject: | Re: Syntax to trigger org-capture (Re: [Orgmode] camel.el, for CamelCase links) |
Date: | Sat, 7 Aug 2010 08:31:16 +0200 |
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 thetemplate (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. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
[Prev in Thread] | Current Thread | [Next in Thread] |