[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Inverting the chronology of LOGBOOK entries
From: |
Mitchell Roe |
Subject: |
[O] Inverting the chronology of LOGBOOK entries |
Date: |
Thu, 05 Apr 2018 15:17:03 -0400 |
Hello,
I have a few different things going into my LOGBOOKs (i.e. TODO state
changes, notes from ~org-add-note~, and =CLOCK= entries from
~org-clock-in~ and ~org-clock-out~).
These entries are /prepended/ to the LOGBOOK, which results in a
/descending/ chronological order. I would like to know if it is
possible to configure org to /append/ them to the LOGBOOK instead, which
would result in an /ascending/ chronological order.
Here is an example of the current behavior:
#+BEGIN_SRC org
,* DONE A very important task
:LOGBOOK:
- State "DONE" from "TODO" [2018-04-05 Thu 14:20]
- Note taken on [2018-04-05 Thu 14:10] \\
Still working away at this task.
- Note taken on [2018-04-05 Thu 14:00] \\
Working away at this task.
CLOCK: [2018-04-05 Thu 13:50]--[2018-04-05 Thu 14:20] => 0:30
- State "TODO" from [2018-04-05 Thu 13:50]
:END:
#+END_SRC
And here is that same example, but with the LOGBOOK entries in ascending
chronological order (i.e. the behavior I'm after):
#+BEGIN_SRC org
,* DONE A very important task
:LOGBOOK:
- State "TODO" from [2018-04-05 Thu 13:50]
CLOCK: [2018-04-05 Thu 13:50]--[2018-04-05 Thu 14:20] => 0:30
- Note taken on [2018-04-05 Thu 14:00] \\
This is a note.
- Note taken on [2018-04-05 Thu 14:10] \\
This is another note, recorded later.
- State "DONE" from "TODO" [2018-04-05 Thu 14:20]
:END:
#+END_SRC
I have looked for such a setting in org.el and on the interwebs, but
have yet to find one. Thanks for any help you can provide.
- [O] Inverting the chronology of LOGBOOK entries,
Mitchell Roe <=