I group all of my TODO items in one file under one first level heading, e.g.

* TODO'a
** TODO this is a test                              :CM:
   DEADLINE: <2016-01-15 Fri>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:22]

** TODO this is another test                         :CM:
   DEADLINE: <2016-01-20 Wed>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:36]


With point on the ** TODO this is another test and I change the state for example to DONE (C-c C-t d) the state change is filed after the first ** TODO and immediately above the "this is another test"

** TODO this is a test                              :CM:
   DEADLINE: <2016-01-15 Fri>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:22]
** TODO this is a test                              :CM:
   DEADLINE: <2016-01-15 Fri>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:22]

         - State "DONE"       from "TODO"       [2016-01-12 Tue 13:38]
** DONE this ia another test                         :CM:
   DEADLINE: <2016-01-20 Wed>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:36]


         - State "DONE"       from "TODO"       [2016-01-12 Tue 13:38]
** DONE this is another test                         :CM:
   DEADLINE: <2016-01-20 Wed>
         :OTHERINFO:

         :END:
                 Date Entered [2016-01-12 Tue 13:36]

I believe that that the state change should be (or it was in the past) filed within the TODO item that was changed.

I tested this with a simple "* TODO something" headline and the state change is entered above the * TODO.

Charlie Millar

Reply via email to