emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater


From: Kyle Meyer
Subject: Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater
Date: Mon, 13 Jul 2015 11:06:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi Rasmus,

Rasmus <address@hidden> wrote:
[...]
> I'm happy to push your commit, but I don't really know what you mean by
> canceled repeater.  Since you are the expert, would you mind posting an
> example of a document with the error you fix?

Sorry, I should have included an example.

If I have a heading that looks like

    ** TODO h
    DEADLINE: <2015-07-13 Mon +3w>

and I run org-todo with a numeric prefix of -1, the repeater is canceled
by changing it to +0w:

    ** DONE h
    CLOSED: [2015-07-13 Mon 10:47] DEADLINE: <2015-07-13 Mon +0w>

If I call org-agenda-list on a file with an entry like above, I get an
arith-error from +0w being passed to org-closest-date.

--
Kyle
expert of +0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]