From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Support hour in repeated task cookie Date: Fri, 27 Apr 2012 23:34:57 +0200 Message-ID: <87lilgdfjy.fsf@gnu.org> References: <87bomi7fwr.fsf@altern.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]:53312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNsnd-0005Uh-3c for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNsnb-0005wo-Al for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:33:56 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:42201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNsnb-0005wQ-1Z for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 17:33:55 -0400 Received: by wgbds1 with SMTP id ds1so831805wgb.30 for ; Fri, 27 Apr 2012 14:33:53 -0700 (PDT) In-Reply-To: (Takafumi Arakaki's message of "Thu, 26 Apr 2012 16:38:24 +0200") 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: Takafumi Arakaki Cc: emacs-orgmode@gnu.org Hi Takafumi, Takafumi Arakaki writes: > Anyway, I tried the head of master > (580add2f4148fea949a4db5550577911ee6d756e) and it works fine for me. > But I couldn't reproduce this behavior: > >> Note that timestamps need to be well formatted.  If there is >> a +3d repeat cookie and the original timestamp doesn have any >> indication for the hour, it will produce an error. > > (BTW, you mean +3h, right?) There is no change in the SCHEDULE time > stamp, but I've got state change log and LAST_REPEAT in PROPERTIES. > Note that I have `(setq org-log-into-drawer t)' in my configuration. > Resulting tree was something like this (I changed the state to DONE > three times): > > * TODO Test > SCHEDULED: <2012-04-26 Thu +3h> > :LOGBOOK: > - State "DONE" from "TODO" [2012-04-26 Thu 16:16] > - State "DONE" from "TODO" [2012-04-26 Thu 16:16] > - State "DONE" from "TODO" [2012-04-26 Thu 16:16] > :END: > :PROPERTIES: > :LAST_REPEAT: [2012-04-26 Thu 16:16] > :END: Yes -- please ping the list about this issue if you find it nagging when using the feature an a regular basis. > Regarding not using constant for "dwmy". > >> I didn't replace "dwmy" by a constant though, this is not expected >> to change anymore. > > I think somebody may want to have minute cookie. Well, let's wait for somebody to dare asking this! Seriously, I would put a constant if this game had no end, but luckily enough, I don't think we can go beyond minutes... Thanks for the feedback! -- Bastien