Sébastien Gendre <s...@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