From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: Org-agenda-sorting: can I sort by inactive timestamps? Date: Mon, 30 May 2016 14:27:01 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7MHk-0001Ei-AT for emacs-orgmode@gnu.org; Mon, 30 May 2016 08:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7MHf-00057E-4K for emacs-orgmode@gnu.org; Mon, 30 May 2016 08:27:07 -0400 Received: from mout.web.de ([212.227.15.4]:51617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7MHe-000578-Q9 for emacs-orgmode@gnu.org; Mon, 30 May 2016 08:27:03 -0400 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-mailinglist
I'm using inactive timestamps to show the creation date of a new heading and also to show the modification dates with some short text notes about the progress in there:
 
Example:
 
* Headings Test
<2016-05-30 Mo 13:18>
* Heading 1
[2016-05-30 Mo 13:21]
* Heading 2
[2016-05-30 Mo 13:16]
* Heading 3
[2016-05-30 Mo 13:16]
* TODO Find out about sorting by timestamp
[2016-05-30 Mo 13:12]
[2016-05-30 Mo 14:22]
posted question to org-mode users group
 
 
I tried the timestamp-up/timestamp-down sorting criteria in my agenda, but they seem to ignore the inactive timestamps:
("r" "Refile" tags "+refile+LEVEL=1"
      ((org-agenda-overriding-header "Refile")
       (org-agenda-sorting-strategy
    (quote
     (timestamp-up)))))
 
I also tried to use the table-view of the agenda, but in the column "timestamp" it only shows the active timestamp of the first heading.
 
Questions:
- is it possible to use inactive timestamps for sorting the agenda?
- what happens if I have several timestamps (active or inactive) in one heading? Will org-mode take the first/last one in the plain text "code" or the newest or oldest one by date?
Both could make sense to me, so it would be interesting to have both possibilities..
 
Kind regards
 
Martin