From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: LOGBOOK note entries in functions Date: Wed, 02 May 2018 08:41:37 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDtt4-0003Nx-NG for emacs-orgmode@gnu.org; Wed, 02 May 2018 11:41:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDtt0-0007U1-G7 for emacs-orgmode@gnu.org; Wed, 02 May 2018 11:41:46 -0400 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:46230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDtt0-0007TY-9S for emacs-orgmode@gnu.org; Wed, 02 May 2018 11:41:42 -0400 Received: by mail-pf0-x234.google.com with SMTP id p12so12101650pff.13 for ; Wed, 02 May 2018 08:41:42 -0700 (PDT) Received: from Johns-MacBook-Air.local ([2601:647:4a00:24c3:4c24:551d:2357:d359]) by smtp.gmail.com with ESMTPSA id r80sm24958129pfe.44.2018.05.02.08.41.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 08:41:38 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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