Hello, Luke <mideniko1234-...@yahoo.co.uk> writes:
> I have the following custom agenda command set up: > > =================================================== > (setq org-agenda-custom-commands > '(("x" "TODOs sorted by effort" todo "TODO" > ((org-agenda-sorting-strategy > '(effort-down)))))) > =================================================== > > I would expect this to show me all my current TODOs, sorted by the > EFFORT property (in descending order). > > I also have the following org-mode file: > > =================================================== > * TASKS > ** TODO Task 1 > :PROPERTIES: > :Effort: 0:02 > :END: > ** TODO Task 2 > :PROPERTIES: > :Effort: 0:10 > :END: > ** TODO Task 3 > :PROPERTIES: > :Effort: 0:30 > :END: > ** TODO Task 4 > :PRyOPERTIES: > :Effort: 0:05 > :END: > =================================================== > > When I execute the agenda command (M-x org-agenda RET x), then I get the > following result (as expected): > > =================================================== > Global list of TODO items of type: TODO > Available with `N r': (0)[ALL] (1)TODO (2)DONE > gtd: TODO Task 3 > gtd: TODO Task 2 > gtd: TODO Task 4 > gtd: TODO Task 1 > =================================================== > > *However*, then I add some tags to the TODO items, such as the > following: > > =================================================== > * TASKS > ** TODO Task 1 > :PROPERTIES: > :Effort: 0:02 > :END: > ** TODO Task 2 :MY_TAG: > :PROPERTIES: > :Effort: 0:10 > :END: > ** TODO Task 3 > :PROPERTIES: > :Effort: 0:30 > :END: > ** TODO Task 4 :@ONLINE: > :PROPERTIES: > :Effort: 0:05 > :END: > =================================================== > > Now when I execute the same agenda command I get the following: > > =================================================== > Global list of TODO items of type: TODO > Available with `N r': (0)[ALL] (1)TODO (2)DONE > gtd: TODO Task 2 :MY_TAG: > gtd: TODO Task 4 :@ONLINE: > gtd: TODO Task 3 > gtd: TODO Task 1 > =================================================== > > > I wouldn't expect the order of items in the agenda to change. However, > even though I haven't specified any tag-based sorting strategy, it seemsas if > the tags are still having some effect on the way that the agenda > is sorted. Fixed. Thank you. Regards, -- Nicolas Goaziou