emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Keith M Swartz <oneroadkms@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Question about todo subheadings and logbook
Date: Fri, 04 Sep 2015 21:38:36 +0200	[thread overview]
Message-ID: <877fo6km9v.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAK6GsA2vQ3kmUgu1v1dPTJnLyQWv2RQa5gN+nP_BiO7sCqHZFA@mail.gmail.com> (Keith M. Swartz's message of "Fri, 4 Sep 2015 12:22:16 -0700")

Keith M Swartz <oneroadkms@gmail.com> 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,

  reply	other threads:[~2015-09-04 19:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04  6:29 Question about todo subheadings and logbook Keith M Swartz
2015-09-04 18:52 ` Nicolas Goaziou
2015-09-04 19:22   ` Keith M Swartz
2015-09-04 19:38     ` Nicolas Goaziou [this message]
2015-09-04 20:26       ` Keith M Swartz
2015-09-04 22:35         ` Nicolas Goaziou
2015-09-04 22:51           ` Keith M Swartz
2015-09-05  8:39             ` Nicolas Goaziou
2015-09-05 18:26               ` Keith M Swartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fo6km9v.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=Emacs-orgmode@gnu.org \
    --cc=oneroadkms@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).