From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Agenda TODO sorting by date Date: Sat, 03 Mar 2012 23:31:47 -0500 Message-ID: <87fwdpj8b0.fsf@norang.ca> References: <87pqcu4duz.wl%jamshark70@dewdrop-world.net> <87399qielx.fsf@norang.ca> <87399pzm9w.wl%jamshark70@dewdrop-world.net> <87ty2533ti.fsf@norang.ca> <87vcmlxe8h.wl%jamshark70@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S436w-0000rt-FZ for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 23:31:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S436u-00040R-9J for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 23:31:54 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:49434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S436u-00040A-5d for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 23:31:52 -0500 In-Reply-To: <87vcmlxe8h.wl%jamshark70@dewdrop-world.net> (James Harkins's message of "Sun, 04 Mar 2012 10:59:58 +0800") 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: James Harkins Cc: emacs-orgmode@gnu.org James Harkins writes: > 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... this description is all wrong - since I gutted my existing sorting function to try this... I'll let you fix that :) Regards, Bernt > >> ..... > > 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