From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Altering effect of deadline on priority calculation Date: Thu, 17 Apr 2014 20:59:46 +0200 Message-ID: <87mwfjwzml.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WarXT-0006uw-Ig for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 15:00:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WarXK-0008Tv-Hc for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 14:59:59 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:47356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WarXK-0008Tp-8N for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 14:59:50 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so805257wgh.15 for ; Thu, 17 Apr 2014 11:59:49 -0700 (PDT) In-Reply-To: (peregrinehill@gmail.com's message of "Mon, 7 Apr 2014 18:43:58 -0400") 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: peregrinehill Cc: emacs-orgmode@gnu.org Hi Inanna, peregrinehill writes: > I would like to make deadlines have a larger impact on priority > calculation than scheduled date, but I can't figure out how to > extract how many days before or past deadline from an agenda entry. >  I would also like to extract how many days overdue a task is from > its scheduled date. > > Is there a function that gives me this information easily? > > Alternatively, can anybody point me to where priority is increased by > 1 for each day late? I'm not sure where do you want to get this information from: from an agenda view? from a normal buffer? What value of `org-agenda-sorting-strategy' comes closest to what you are trying to achieve? Let us know, -- Bastien