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: Mon, 04 Feb 2013 23:45:49 +0100 Message-ID: <877gmn4s0y.fsf@bzg.ath.cx> References: <861ucvrbb8.fsf@somewhere.org> 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]:56556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2Unt-0001oG-Em for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 17:46:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2Unm-0002QJ-KC for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 17:46:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:35984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2Unm-0002Q6-Cz for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 17:46:14 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U2Unx-0001Xf-Cv for emacs-orgmode@gnu.org; Mon, 04 Feb 2013 23:46:25 +0100 In-Reply-To: <861ucvrbb8.fsf@somewhere.org> (Sebastien Vauban's message of "Mon, 04 Feb 2013 22:58:19 +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, "Sebastien Vauban" 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. Thanks, -- Bastien