(for better formatting and screenshots, see this discussion on reddit:
https://www.reddit.com/r/orgmode/comments/1iy6hrf/update_to_emacs_301orgmode_97_changed_agenda_sort/
)

I have a custom agenda "work" view for showing my agenda and some, but not
all of my todos:

(setq org-agenda-custom-commands
      '(("n" "Agenda and all TODOs"
         ((agenda "" nil)
          (alltodo "" nil))
         nil)
        ("w" "Work stuff"
         ((agenda "" nil)
          (tags-todo "-holding-CATEGORY=\"personal\"" nil))
         nil)
        ))

I updated emacs to 30.1 which brought along org-mode 9.7

Before the upgrade, the todos were sorted so that todos with priority set
were shown first, and, within those, those with priority A were shown first
followed by those with B and C.

Now the todos seem to be sorted first by filename and then by location
within the file.

I see the note in the 9.7 release notes (
https://orgmode.org/Changes.html#:%7E:text=%22Priority%22%20used%20to%20sort%20items%20in%20agenda%20is%20renamed%20to%20%22urgency%22)
that says:

> "Priority" used to sort items in agenda is renamed to "urgency"
Previously, priority-up and priority-down in org-agenda-sorting-strategy
used a composite rank depending on item's priority ([#A], [#B], [#C], etc)
and overdue time to order agenda items (see "11.4.3 Sorting of agenda
items" section of Org manual).
>
> Now, this composite rank is renamed to urgency and the relevant sorting
strategies are renamed to urgency-up and urgency-down. priority-up and
priority-down sort by item's priority only.
>
> Users relying on the previous composite ranking should adjust their
agenda sorting settings.

But I have not explicitly set any agenda sorting and this note doesn't
discuss default sort behavior (I don't think).

Discussion on r/org-mode suggests that this is not an expected change



Emacs  : GNU Emacs 30.1 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.65 Version 12.7.6 (Build 21H1320))
 of 2025-02-24
Package: Org mode version 9.7.11 (release_9.7.11 @
/Applications/Emacs.app/Contents/Resources/lisp/org/)

Reply via email to