The comment about swapping lines and getting a nicer version was
intended for the orgmode devs, just in case they want an easy way to
support templates with minimal changes to the source code.
My solution also works. Just copy the elisp definitions for org-p and
org-g into your .emacs file. Then d
On Fri, Aug 3, 2012 at 9:40 PM, Sebastian Fischmeister
wrote:
> As an idea, this is how I use templates:
>
> %+begin_src
> (defun org-p (key)
> (let ((val (read-from-minibuffer (concat "Define " key ": "
> (plist-put org-store-link-plist
>(intern (concat ":" key)) val))
>
As an idea, this is how I use templates:
%+begin_src
(defun org-p (key)
(let ((val (read-from-minibuffer (concat "Define " key ": "
(plist-put org-store-link-plist
(intern (concat ":" key)) val))
""
)
(defmacro org-g (key)
(or (plist-get org-store-link-plist (int
Hi Nathan,
Nathan Neff writes:
> Is there a way to create a template structure for cloning?
This is something I've wanted for long, and I hope I'll find the time
to implement it after 7.9.
More precisely, I want something that captures the structure of the
subtree at point (with all elements)
Hi all,
Is there a way to create a template structure for cloning?
The main purpose would be to create a shell or structure that is easy
to replicate,
such as a workflow, etc. This shell, etc would not need any
hard-coded dates, but could
simply have offsets for sub-items whose due-dates or star