[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-agenda fails on particular construct
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-agenda fails on particular construct |
Date: |
Thu, 15 Dec 2016 22:19:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Ingo Lohmar <address@hidden> writes:
> 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.
Good catch. Fixed. Thank you.
Regards,
--
Nicolas Goaziou