[Top][All Lists]

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

Re: [O] Sorting Agenda By Priority

From: Richard Parsons
Subject: Re: [O] Sorting Agenda By Priority
Date: Fri, 7 Oct 2011 12:34:04 +0100

On Fri, Oct 7, 2011 at 12:26 PM, Bernt Hansen <address@hidden> wrote:
> Richard Parsons <address@hidden> 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

> 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!


reply via email to

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