* Inverting the chronology of LOGBOOK entries
@ 2018-04-05 19:17 Mitchell Roe
2018-04-06 0:02 ` Eric Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Mitchell Roe @ 2018-04-05 19:17 UTC (permalink / raw
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inverting the chronology of LOGBOOK entries
2018-04-05 19:17 Inverting the chronology of LOGBOOK entries Mitchell Roe
@ 2018-04-06 0:02 ` Eric Abrahamsen
2018-04-06 9:54 ` Mitchell Roe
0 siblings, 1 reply; 3+ messages in thread
From: Eric Abrahamsen @ 2018-04-06 0:02 UTC (permalink / raw
To: emacs-orgmode
"Mitchell Roe" <mitchell.roe@member.fsf.org> writes:
> 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.
Probably org-log-states-order-reversed?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Inverting the chronology of LOGBOOK entries
2018-04-06 0:02 ` Eric Abrahamsen
@ 2018-04-06 9:54 ` Mitchell Roe
0 siblings, 0 replies; 3+ messages in thread
From: Mitchell Roe @ 2018-04-06 9:54 UTC (permalink / raw
To: emacs-orgmode
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Probably org-log-states-order-reversed?
That's it! I guess I glossed over that option originally. Thank you!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-06 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 19:17 Inverting the chronology of LOGBOOK entries Mitchell Roe
2018-04-06 0:02 ` Eric Abrahamsen
2018-04-06 9:54 ` Mitchell Roe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.