From: Bernt Hansen <bernt@norang.ca>
To: Jacek Generowicz <jacek.generowicz@cern.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sort TODOs in agenda day
Date: Tue, 31 Jan 2012 12:39:48 -0500 [thread overview]
Message-ID: <8762frkbyz.fsf@norang.ca> (raw)
In-Reply-To: <4d473cc8-5801-4545-8b93-2b72157878de@CERNFE22.cern.ch> (Jacek Generowicz's message of "Tue, 31 Jan 2012 09:03:08 +0100")
Jacek Generowicz <jacek.generowicz@cern.ch> writes:
> At Mon, 30 Jan 2012 19:32:01 -0500,
> Bernt Hansen wrote:
>>
>> Jacek Generowicz <jacek.generowicz@cern.ch> 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
next prev parent reply other threads:[~2012-01-31 17:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 12:30 Sort TODOs in agenda day Jacek Generowicz
2012-01-31 0:32 ` Bernt Hansen
2012-01-31 8:03 ` Jacek Generowicz
2012-01-31 17:39 ` Bernt Hansen [this message]
2012-02-01 10:02 ` Jacek Generowicz
2012-02-01 12:51 ` Bernt Hansen
2012-02-02 9:24 ` Jacek Generowicz
2012-02-03 2:06 ` Bernt Hansen
2012-02-02 18:11 ` Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762frkbyz.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=jacek.generowicz@cern.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).