Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham
On Thu 26 Apr 2018 at 20:20, Bastien  wrote:

> Er, indeed - both bugs should now be fixed in maint.

Looks good to me, thanks!



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Thanks for the quick follow-up!

Alex Branham  writes:

> It's a bug. This should show up on today's agenda:
>
> * TODO test
> DEADLINE: <2018-04-27 Fri>
>
> because the value of 'org-deadline-warning-days' is 14 and it's due
> tomorrow, but it doesn't appear.

Er, indeed - both bugs should now be fixed in maint.

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Hi Alex,

Alex Branham  writes:

> now deadlines aren't being put into the agenda at all
> unless they are also scheduled. :-(

Is this a bug or expected?  If this is a bug, can you send an example?

This area can be confusing and is hard to test, examples are always
very welcome.

Thanks!

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham

On Thu 26 Apr 2018 at 19:25, Bastien  wrote:

> Hi Alex,
>
> Alex Branham  writes:
>
>> now deadlines aren't being put into the agenda at all
>> unless they are also scheduled. :-(
>
> Is this a bug or expected?  If this is a bug, can you send an example?

It's a bug. This should show up on today's agenda:

* TODO test
DEADLINE: <2018-04-27 Fri>

because the value of 'org-deadline-warning-days' is 14 and it's due
tomorrow, but it doesn't appear.



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham

On Thu 26 Apr 2018 at 18:34, Bastien  wrote:
>> ** TODO Pay estimated taxes
>> SCHEDULED: <2018-03-31 Sat> DEADLINE: <2018-04-17 Tue -20d>
>>
>> and org-agenda-skip-deadline-prewarning-if-scheduled set to
>> 'prescheduled. Since it is scheduled for a date later than today I
>> would expect that it doesn't appear on my agenda today. However, it
>> looks like the prewarning -20d is causing it to appear anyway.
>>
>> Am I misunderstanding something here or is this a bug?
>
> yes, this is a bug, fixed now in maint, can you double check and let
> me know if things are working okay?

Thanks for the reply. It seems like this might be fixed though it's hard
to tell because now deadlines aren't being put into the agenda at all
unless they are also scheduled. :-(

Alex



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Hi Alex,

Alex Branham  writes:

> I have this item in one of my agenda files:
>
> ** TODO Pay estimated taxes
> SCHEDULED: <2018-03-31 Sat> DEADLINE: <2018-04-17 Tue -20d>
>
> and org-agenda-skip-deadline-prewarning-if-scheduled set to
> 'prescheduled. Since it is scheduled for a date later than today I
> would expect that it doesn't appear on my agenda today. However, it
> looks like the prewarning -20d is causing it to appear anyway.
>
> Am I misunderstanding something here or is this a bug?

yes, this is a bug, fixed now in maint, can you double check and let
me know if things are working okay?

Thanks!

-- 
 Bastien