From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Question about todo subheadings and logbook Date: Fri, 04 Sep 2015 21:38:36 +0200 Message-ID: <877fo6km9v.fsf@nicolasgoaziou.fr> References: <87k2s6koeg.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwnE-0003EB-MJ for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:37:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXwnD-0004Uy-Me for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:37:00 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:54254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXwnD-0004Tk-9K for Emacs-orgmode@gnu.org; Fri, 04 Sep 2015 15:36:59 -0400 In-Reply-To: (Keith M. Swartz's message of "Fri, 4 Sep 2015 12:22:16 -0700") 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: Keith M Swartz Cc: Emacs-orgmode@gnu.org Keith M Swartz writes: > Here is an example to reproduce some questionable results: > > 0. Create a set of TODO labels, like so: > #+SEQ_TODO: TODO(!) PEND(!) DONE(!) > > 1. Create an item, make it a todo. (Creates a logbook.) OK. > 2. Create a subheading. (Alt-Enter, shift-right) >From where? > Make it a todo. (This adds a line to the logbook saying the state > changed to TODO, even though the previous line says the state already > is TODO. You can't tell which state changed.) > > 3. Cycle the state on your sub-todo to PEND. (Changes the state in the > logbook.) > > 4, Go back to the main heading and cycle the state to PEND. (This creates > ANOTHER logbook right underneath the heading showing the state change. The > original record for when it was marked TODO is in the other logbook, but > there are two such entries, and it's not obvious which one is which. You > could probably infer logically that the older entry is for the main > heading, but if states keep going back and forth, you'll lose track > quickly.) I cannot reproduce this. It creates the following document: #+SEQ_TODO: TODO(!) PEND(!) DONE(!) * PEND test :LOGBOOK: - State "PEND" from "TODO" [2015-09-04 ven. 21:37] - State "TODO" from [2015-09-04 ven. 21:33] :END: ** PEND test2 :LOGBOOK: - State "PEND" from "TODO" [2015-09-04 ven. 21:35] - State "TODO" from [2015-09-04 ven. 21:34] :END: Regards,