John Kitchin
2018-05-02 15:41:37 UTC
Hi,
Is it possible to include extra text in a logbook entry from a function
in a way that doesn't open a notes buffer?
I was trying to use org-add-log-setup:
(org-add-log-setup &optional PURPOSE STATE PREV-STATE HOW EXTRA)
but the EXTRA arg is ignored unless HOW is set to 'note as far as I can
tell, and when it set to that, it opens a note buffer to edit the note.
I would like to just directly add the EXTRA text to the logbook
programmatically, without opening the note buffer.
i.e. this would just add the entry to the logbook:
(org-add-log-setup 'done nil nil 'note "extra")
Thanks,
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
Is it possible to include extra text in a logbook entry from a function
in a way that doesn't open a notes buffer?
I was trying to use org-add-log-setup:
(org-add-log-setup &optional PURPOSE STATE PREV-STATE HOW EXTRA)
but the EXTRA arg is ignored unless HOW is set to 'note as far as I can
tell, and when it set to that, it opens a note buffer to edit the note.
I would like to just directly add the EXTRA text to the logbook
programmatically, without opening the note buffer.
i.e. this would just add the entry to the logbook:
(org-add-log-setup 'done nil nil 'note "extra")
Thanks,
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu