From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mitchell Roe" Subject: Inverting the chronology of LOGBOOK entries Date: Thu, 05 Apr 2018 15:17:03 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4ANo-0005PN-G8 for emacs-orgmode@gnu.org; Thu, 05 Apr 2018 15:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4ANl-0007AP-CS for emacs-orgmode@gnu.org; Thu, 05 Apr 2018 15:17:16 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43401) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4ANl-00078H-5w for emacs-orgmode@gnu.org; Thu, 05 Apr 2018 15:17:13 -0400 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id BC0301A0148 for ; Thu, 5 Apr 2018 12:17:06 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id CE23321A6A for ; Thu, 5 Apr 2018 12:17:04 -0700 (PDT) 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" To: emacs-orgmode@gnu.org 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.