Morgan Smith <[email protected]> writes:

>  (let ((set-agenda-with-priority
>         (lambda (priority)

Also, see cl-flet.

> +            (funcall set-agenda-with-priority '(deadline-up scheduled-up))
> ...
> deadline yesterday
> +deadline today
> +deadline tomorrow
> +scheduled yesterday
> +both yesterday
> +scheduled today
> +both today
> +scheduled tomorrow
> +both tomorrow"))

Why "scheduled tomorrow"? Normally, agenda does not display tasks
scheduled in the future.

Also, why does both yesterday come after deadline today? The former has
deadline yesterday.

I think that the correct order should be

both yesterday (earlier because org-agenda-sort-notime-is-late = t by default)
deadline yesterday
both today
deadline today
both tomorrow
deadline tomorrow
scheduled yesterday
scheduled today
(no scheduled tomorrow)

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to