From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: Agenda TODO sorting by date Date: Sun, 04 Mar 2012 00:23:23 +0800 Message-ID: <87399pzm9w.wl%jamshark70@dewdrop-world.net> References: <87pqcu4duz.wl%jamshark70@dewdrop-world.net> <87399qielx.fsf@norang.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rkG-0005IQ-BE for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 11:23:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3rkE-0002ub-61 for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 11:23:43 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:37363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rkD-0002tD-Uw for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 11:23:42 -0500 Received: by iajr24 with SMTP id r24so4422937iaj.0 for ; Sat, 03 Mar 2012 08:23:39 -0800 (PST) In-Reply-To: <87399qielx.fsf@norang.ca> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org At Fri, 02 Mar 2012 21:48:42 -0500, Bernt Hansen wrote: > You could write a custom sorting function that parses out the date from > the heading and compares them. There may be a better way to do this > that I'm not aware of for this. > > Set this function up in org-agenda-cmp-user-defined and > org-agenda-sorting-strategy to get the results you want. OK, thanks. I was starting to think it would come to that. Kind of surprising this isn't offered out of the box. I think I need a bit more guidance, from you or someone else. > parses out the date from the heading Is there already an org function to do this? C-h a searches on the following yielded nothing that seemed interesting. org.*date.* org.*timestamp.* > compares them I was about to make that more complicated, but actually string comparison should be fine for this. No worries there. I have done rather little with emacs-lisp so... this is uphill for me. Thanks. James -- James Harkins /// dewdrop world jamshark70@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks