[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Re: help with sorting agenda views
From: |
Bernt Hansen |
Subject: |
[O] Re: help with sorting agenda views |
Date: |
Sun, 20 Mar 2011 15:34:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
"Filippo A. Salustri" <address@hidden> writes:
> Hi,
> I'm getting confused with sorting agenda views. Hopefully someone can
> help me out.
>
> I have a custom agenda view that, today, looks like this:
>
> Friday 18 March 2011
> UTMIE: In 13 d.: TODO [#A] Annual Report
> Matthew: In -1 d.: TODO Edit Matthew's thesis.
> iMac: Deadline: TODO Archive email > Thunderbird
> iMe: In 1 d.: REVIEW Tag my zotero library
> 8101: In 5 d.: REVIEW Grade Assignment 4
>
> The second item is late.
> I wish I could get late items to show up first, before all else.
> At the moment, the custom agenda command includes this bit:
>
> ("0" "Show ACTIVE/REVIEW/BUG tasks"
> ((agenda "" ((org-agenda-sorting-strategy
> (quote ((agenda time-up priority-down))))))
> (todo "REVIEW|ACTIVE|WIP")))
>
> I thought that doing this would make sure late items came first.
> In my .emacs, I also have this bit in custom-set-variables:
>
> '(org-agenda-sorting-strategy
> (quote ((agenda time-up priority-down)
> (todo priority-down)
> )))
>
> I checked the doc and google, and I can't find anything helpful.
>
> Can someone advise me?
Hi Filippo,
I have a custom agenda sorting function that orders items in the agenda
specifically the way I want. You should be able to adapt this for your
needs. Details are at http://doc.norang.ca/org-mode.html#sec-16_3_5
Regards,
--
Bernt