From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: PATCH: Re: Recurring TODO with hours not scheduled correctly Date: Thu, 12 Dec 2019 12:16:15 +0100 Message-ID: <87pngtrdz4.fsf@nicolasgoaziou.fr> References: <9c4d4ccb-5a92-d12d-60ce-a778684b689a@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40852) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifMSJ-0000xE-6S for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 06:16:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifMSH-0006du-Ty for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 06:16:26 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ifMSH-0006Z9-Md for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 06:16:25 -0500 In-Reply-To: <9c4d4ccb-5a92-d12d-60ce-a778684b689a@gmail.com> (Justin Vallon's message of "Sat, 7 Dec 2019 11:00:16 -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" To: Justin Vallon Cc: emacs-orgmode@gnu.org Hello, Justin Vallon writes: > Following up with a patch to make .+1h work "like" .+1d: > > - When computing the new scheduled date, the repeater-type "." would > shift the scheduled date to today, then adjust by the interval. > Shifting the date would leave the time unchanged > - When shifting by hours, the old time would remain, and then be shifted > by the interval > - With the patch, ".+1h" will shift schedule-date to now (vs today), > then add "1h" as before. ".+1d" will have the old behavior (shift date, > but leave time alone). > - That is: > - ".+1d" is tomorrow at same scheduled time > - ".+1h" is in one hour > - ".+24h" is 24h from now. That seems reasonable. Would you mind providing an entry in ORG-NEWS, possibly some pointers in the manual, if appropriate, and add a few tests in `test-org/auto-repeat-maybe' located in test-org.el file? Thank you! Regards, -- Nicolas Goaziou