emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Sort TODOs in agenda day


From: Bernt Hansen
Subject: Re: [O] Sort TODOs in agenda day
Date: Tue, 31 Jan 2012 12:39:48 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Jacek Generowicz <address@hidden> writes:

> At Mon, 30 Jan 2012 19:32:01 -0500,
> Bernt Hansen wrote:
>> 
>> Jacek Generowicz <address@hidden> writes:
>> 
>> > Hello,
>> >
>> > In the standard agenda view for any single day, apponintments appear
>> > in chronolological order before any TODOs which seem to be ordered
>> > accoriding to the order in which they appear in their org files.
>> >
>> > How could I get the TODOs to be sorted by something like effort-up
>> > without breaking the chronological sort of the appointments?
>> 
>> Look at the variable org-agenda-sorting-strategy.
>
> Yes, but how do I instruct it to apply one strategy (time-up) to those
> items which appear in the time-grid portion of the day's display (the
> appointments), and a different one to the other entries (scheduled
> TODOs, deadlines)? Specifically, by adding a command to
>
>     org-agenda-custom-commands
>
> which contains something like
>
>     ((agenda ""
>       ((org-agenda-sorting-strategy '(effort-up)))))
>
> messes up the time ordering of appointments for that command.

I have a fairly complicated sorting function which gets the order of
items exactly how I want to see them on the agenda.

The gory details are here:

http://doc.norang.ca/org-mode.html#AgendaViewTweaks

HTH,
Bernt



reply via email to

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