Hello,

Matt Price <mopto...@gmail.com> writes:

> I have a headline like this:
>
> * Gradebook
> :PROPERTIES:
> :CUSTOM_ID: gradebook
> :END:
>
> some content etc etc etc.
>
> I would like to be able to replace the contents of that headline
> automatically, but retain the properties.

  (org-link-search "[[#gradebook]]")

  (delete-region (org-end-of-meta-data) 
                 (progn (outline-next-heading) (point)))

You can also create contents with a dynamic block, which will replace
contents at each update.

Regards,

-- 
Nicolas Goaziou

Reply via email to