From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Schrempf Subject: Re: Feature Request: Time Line in Lab Book Date: Thu, 31 Mar 2016 12:53:56 +0200 Message-ID: <87h9fmvry3.fsf@gmail.com> References: <87lh4z9ibe.fsf@gmail.com> <87shz7jb7b.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alaEl-0000zM-PV for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 06:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alaEh-0005sc-Oj for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 06:54:03 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:36462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alaEh-0005sQ-Dl for emacs-orgmode@gnu.org; Thu, 31 Mar 2016 06:53:59 -0400 Received: by mail-lf0-x231.google.com with SMTP id e133so56656584lfe.3 for ; Thu, 31 Mar 2016 03:53:59 -0700 (PDT) Received: from localhost ([192.38.33.17]) by smtp.gmail.com with ESMTPSA id ug7sm1242290lbb.9.2016.03.31.03.53.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 03:53:57 -0700 (PDT) In-Reply-To: <87shz7jb7b.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 31 Mar 2016 09:36:24 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs Org Mode Mailing List Hi Eric, thanks for your answer. I guess drawers in general are the solution to my problems because then I can associate text to a specific headline. I introduced a DESCRIPTION drawer that includes the description of my problem/task and I log the solution or outcome into the LOGBOOK drawer when setting the state to DONE. The drawer names are of course arbitrary. I also tried to use a single LOGBOOK drawer but Org mode always adds notes at the top in the respective drawer. I guess this is fine in general but not expected behavior in this setting, that's why I use two of them. Thanks, Dominik On Thu, Mar 31 2016, Eric S Fraga wrote: > Hi Dominik, > > it's not entirely clear what you want but I can suggest what I do. I > use the following capture rule to add entries to my journal (equivalent > to your lab book): > > #+begin_src emacs-lisp > ("j" "journal" entry > (file+datetree+prompt "~/s/notes/journal.org") > "* %(format-time-string \"%H:%M\") %^{Entry} %^G\n%i%?") > #+end_src > > You could have two such capture rules, one for notes and one for TODO > items. To add notes to the TODO items, you could use the logging > capability so that org prompts for a note every time a TODO item changes > state. Have a look at org-log-state-notes-into-drawer.