emacs-orgmode
[Top][All Lists]
Advanced

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

Re: org-agenda todos list sorted by earliest deadline first


From: Ihor Radchenko
Subject: Re: org-agenda todos list sorted by earliest deadline first
Date: Wed, 11 May 2022 21:24:39 +0800

Sébastien Gendre <seb@k-7.ch> writes:

> The only option I have to set is:
> ```
> (setq org-agenda-sorting-strategy '((agenda deadline-down time-up habit-up 
> priority-down timestamp-down category-keep)
>                                   (todo deadline-up priority-down 
> category-keep)
>                                   (tags priority-down category-keep)
>                                   (search category-keep)))
> ```
>
> Do the `deadline-up` option will apply to all todo lists in the agenda ?
> Even the ones in custom views ?

Yes. (setq org-agenda-sorting-strategy ...) is global setting.
However, you can also set it locally inside custom agenda command if you
wish. See the docstring of org-agenda-custom-commands:

>> settings  A list of option settings, similar to that in a let form, so like
>>          this: ((opt1 val1) (opt2 val2) ...).   The values will be
>>          evaluated at the moment of execution, so quote them when needed.

optN can be org-agenda-sort-strategy.

Best,
Ihor



reply via email to

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