Hi John,

John Kitchin <jkitc...@andrew.cmu.edu> writes:

> Here is a new version that might fail some other way!
>
> (defun canvas-org-get-heading-body ()
>   "Return the body of the current heading up to the next heading."
>   (interactive)
>   (save-excursion
>     (unless (org-at-heading-p)
>       (org-previous-visible-heading 1))
>     (org-end-of-meta-data)
>     (buffer-substring (point)
>      (progn (org-next-visible-heading 1) (point)))))

Maybe this is useful enough to end up in
https://orgmode.org/worg/org-hacks.html ?

We obviously need to make this page more readable and useful,
but new contents is always welcome.

Thanks,

-- 
 Bastien

Reply via email to