emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LOGBOOK note entries in functions
@ 2018-05-02 15:41 John Kitchin
  2018-05-04  7:58 ` Julius Dittmar
  0 siblings, 1 reply; 2+ messages in thread
From: John Kitchin @ 2018-05-02 15:41 UTC (permalink / raw)
  To: Org Mode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LOGBOOK note entries in functions
  2018-05-02 15:41 LOGBOOK note entries in functions John Kitchin
@ 2018-05-04  7:58 ` Julius Dittmar
  0 siblings, 0 replies; 2+ messages in thread
From: Julius Dittmar @ 2018-05-04  7:58 UTC (permalink / raw)
  To: emacs-orgmode

Thanks a lot, John, for your efforts.
I'll play with it and come back once questions arise.

Yours,
Julius

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-04  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02 15:41 LOGBOOK note entries in functions John Kitchin
2018-05-04  7:58 ` Julius Dittmar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).