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 10:59:58 +0800 Message-ID: <87vcmlxe8h.wl%jamshark70@dewdrop-world.net> References: <87pqcu4duz.wl%jamshark70@dewdrop-world.net> <87399qielx.fsf@norang.ca> <87399pzm9w.wl%jamshark70@dewdrop-world.net> <87ty2533ti.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]:49097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S41gA-0008J4-UL for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 22:00:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S41g8-0006jS-Rs for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 22:00:10 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:44848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S41g8-0006iU-Kj for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 22:00:08 -0500 Received: by iajr24 with SMTP id r24so4899434iaj.0 for ; Sat, 03 Mar 2012 19:00:06 -0800 (PST) In-Reply-To: <87ty2533ti.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 Sat, 03 Mar 2012 14:03:05 -0500, Bernt Hansen wrote: > I think this works > > --8<---------------cut here---------------start------------->8--- > > (defun bh/agenda-sort-by-heading-date (a b) > "Sorting strategy for agenda items. > Late deadlines first, then scheduled, then non-late deadlines" > ..... Oops :) that's what I get for answering e-mail before updating from IMAP. Thanks for this, will try later. "string-match" -- amazing that none of the pages I found by searching for things like "lisp regular expression" mentioned this function *at all* ?? I guess a lot of programming language or software documentation is like this -- it's easy to find what something is called when you already know what it's called. Heh. Anyway, learned something, that's good. Thanks again!! 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