emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-agenda fails on particular construct


From: Ingo Lohmar
Subject: Re: [O] org-agenda fails on particular construct
Date: Thu, 15 Dec 2016 21:02:26 +0100

[Sorry for not replying in-thread...]

Hi All,

after updating I'm getting the same result, but I could not reproduce it
even with my org-config until now.

The culprit seems to be in org-agenda.el, ll. 6098 ff., in 
org-agenda-get-deadlines:

                   ((eq org-agenda-skip-deadline-prewarning-if-scheduled
                        'pre-scheduled)
                    ;; Set pre-warning to no earlier than SCHEDULED.
                    (min (- deadline scheduled) org-deadline-warning-days))

So it needs an item with deadline *and* scheduled time, and the
'pre-scheduled setting of the config var
org-agenda-skip-deadline-prewarning-if-scheduled.

Subtracting "scheduled" fails: every date in the procedure is an
integer, scheduled is still the raw string from the item.  At the
moment, I am too tired to figure out why that is, sorry.  Hope this is
still of some help.



reply via email to

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