For example:
* Some Heading
<cursor is here>
some text in this heading
<I want to use org-capture to put a subheading here>
I tried defining a template that used the "org-end-of-subtree"
function:
(setq org-capture-templates
`(("x" "Subheading" entry (function org-end-of-subtree) "*
%?\n\n" :clock-in t :clock-resume t)
)
)
But, the captured data is inserted as a sibling heading
in front of the heading where the cursor is, like this:
* <The result of my capture template>
* Some Heading
<cursor is here>
** < I want the result of the capture template here>
I've also tried "outline-next-heading", and "outline-end-of-subtree"
but they add
non-subtree headlines, and insert into #+begin_src / #+end_src blocks,
which is undesirable
I've also tried the solution proposed in this thread, but haven't
quite got it correct:
http://www.mail-archive.com/address@hidden/msg28946.html
Any help appreciated,
Thanks,
--Nate
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode