From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: relative deadlines Date: Tue, 09 Dec 2014 17:10:35 +0100 Message-ID: <877fy0dcsk.fsf@nicolasgoaziou.fr> References: <20141208021032.GF20333@broggs.org> <87bnndcggb.fsf@nicolasgoaziou.fr> <20141209150726.GK20333@broggs.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyNMC-0006gk-Gw for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 11:09:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyNM5-00079Z-1Q for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 11:09:48 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:39291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyNM4-00079I-RZ for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 11:09:40 -0500 In-Reply-To: <20141209150726.GK20333@broggs.org> (Jeffrey Brent McBeth's message of "Tue, 9 Dec 2014 10:07:26 -0500") 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: Jeffrey Brent McBeth Cc: emacs-orgmode@gnu.org Jeffrey Brent McBeth writes: > This is where I fall down. I don't see how that meets my basic need > case. If you want to repeat the main task and sub-tasks, the function will preserve difference between the timestamps. > I know that certain sub tasks need to start 90 days before the final > deadline (for example), I can hand count back 90 days and then do the > shifting of timestamps, but then the core relevant information is lost > of -90d. You can also modify (advice) `org-deadline' and `org-scheduled' so their base value is the one above in the subtree instead of current date. Another option is to add a keymap to `org-read-date-minibuffer-local-map' that would set the base date to the last one computed. You could then choose your date incrementally (e.g., first move to the deadline date of the task, then backwards 90 days with -90d). I'm unsure about the net benefit, tho. Regards,