emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Trouble with scheduled item with deadline on agenda
@ 2018-03-29 16:41 Alex Branham
  2018-04-26 23:34 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2018-03-29 16:41 UTC (permalink / raw)
  To: Org Mode List

Hello -

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?

Thanks,
Alex

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-03-29 16:41 Trouble with scheduled item with deadline on agenda Alex Branham
@ 2018-04-26 23:34 ` Bastien
  2018-04-27  0:19   ` Alex Branham
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2018-04-26 23:34 UTC (permalink / raw)
  To: Alex Branham; +Cc: Org Mode List

Hi Alex,

Alex Branham <alex.branham@gmail.com> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-04-26 23:34 ` Bastien
@ 2018-04-27  0:19   ` Alex Branham
  2018-04-27  0:25     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2018-04-27  0:19 UTC (permalink / raw)
  To: Bastien; +Cc: Org Mode List


On Thu 26 Apr 2018 at 18:34, Bastien <bzg@gnu.org> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-04-27  0:19   ` Alex Branham
@ 2018-04-27  0:25     ` Bastien
  2018-04-27  0:30       ` Alex Branham
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2018-04-27  0:25 UTC (permalink / raw)
  To: Alex Branham; +Cc: Org Mode List

Hi Alex,

Alex Branham <alex.branham@gmail.com> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-04-27  0:25     ` Bastien
@ 2018-04-27  0:30       ` Alex Branham
  2018-04-27  1:20         ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Branham @ 2018-04-27  0:30 UTC (permalink / raw)
  To: Bastien; +Cc: Org Mode List


On Thu 26 Apr 2018 at 19:25, Bastien <bzg@gnu.org> wrote:

> Hi Alex,
>
> Alex Branham <alex.branham@gmail.com> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-04-27  0:30       ` Alex Branham
@ 2018-04-27  1:20         ` Bastien
  2018-04-27  1:24           ` Alex Branham
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2018-04-27  1:20 UTC (permalink / raw)
  To: Alex Branham; +Cc: Org Mode List

Thanks for the quick follow-up!

Alex Branham <alex.branham@gmail.com> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble with scheduled item with deadline on agenda
  2018-04-27  1:20         ` Bastien
@ 2018-04-27  1:24           ` Alex Branham
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Branham @ 2018-04-27  1:24 UTC (permalink / raw)
  To: Bastien; +Cc: Org Mode List

On Thu 26 Apr 2018 at 20:20, Bastien <bzg@gnu.org> wrote:

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

Looks good to me, thanks!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-04-27  1:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 16:41 Trouble with scheduled item with deadline on agenda Alex Branham
2018-04-26 23:34 ` Bastien
2018-04-27  0:19   ` Alex Branham
2018-04-27  0:25     ` Bastien
2018-04-27  0:30       ` Alex Branham
2018-04-27  1:20         ` Bastien
2018-04-27  1:24           ` Alex Branham

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).