On Fri, Oct 7, 2011 at 12:26 PM, Bernt Hansen <be...@norang.ca> wrote: > Richard Parsons <richard.lee.pars...@gmail.com> writes: > >> Hi all >> >> I want to sort the agenda file so that the tasks marked with >> priorities A, B and C are all at the top, with tasks marked with no >> priority underneath. >> >> I've tried reading the manual on this >> (http://orgmode.org/manual/Sorting-of-agenda-items.html#Sorting-of-agenda-items), >> but don't understand it. I'm guessing that I have to change the >> variable org-agenda-sorting-strategy somehow, but I'm not sure what >> to. >> >> Thanks for helping a new user!
> Welcome to the org-mode community! Thank you very much. It's a great community and I continue to be very impressed. > What you describe should be the default behaviour. But items with no > priority default to B so you need to drop the default priority below the > items you normally set a priority for (ie D if A, B, and C are the only > priorities you use). Ah, so I was barking up the wrong tree. > See org-default-priority, org-lowest-priority > > ,----[ example org file ] > | * TODO [#C] Priority C task > | * TODO [#B] Priority B task > | * TODO [#A] High priority task > | * TODO Some other task > | > | (setq org-default-priority ?D) > | (setq org-lowest-priority ?F) That worked perfectly. Thanks! Richard