From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Add a different prefix for past deadlines in the agenda view Date: Wed, 27 Feb 2013 14:56:47 +0100 Message-ID: <87k3ptsvvk.fsf@bzg.ath.cx> References: <861ucvrbb8.fsf@somewhere.org> <877gmn4s0y.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhVQ-0000ZL-2r for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:57:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAhVK-0001dA-Cu for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:57:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:37493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhVK-0001co-2Q for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:57:06 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAhVX-0001wE-9J for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 14:57:19 +0100 In-Reply-To: <877gmn4s0y.fsf@bzg.ath.cx> (Bastien's message of "Mon, 04 Feb 2013 23:45:49 +0100") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hi Sébastien, Bastien writes: >> Here's a patch to allow for a different prefix for deadline entries which are >> in the past: for example, "3 d ago" instead of "In -3 d"... > > Please make sure the change is backward compatible so that users don't > have to change the value of their `org-agenda-deadline-leaders' > (i.e. simply fall back on (nth 1 ...) when (nth 2 ...) returns nil. I finally added this, with a slightly different patch: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=c8c991e Thanks for the suggestion, -- Bastien