From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacek Generowicz Subject: Re: Sort TODOs in agenda day Date: Wed, 1 Feb 2012 11:02:31 +0100 Message-ID: <944812b5-d705-48d5-8ad0-aa5305f43352@CERNFE23.cern.ch> References: <9d834356-f72b-440a-91af-fee555f76c32@CERNFE22.cern.ch> <87mx94lnjy.fsf@norang.ca> <4d473cc8-5801-4545-8b93-2b72157878de@CERNFE22.cern.ch> <8762frkbyz.fsf@norang.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="US-ASCII" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsX1c-00021O-T9 for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 05:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsX1V-0004pD-6k for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 05:02:47 -0500 Received: from cernmx31.cern.ch ([137.138.144.179]:58871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsX1U-0004oU-Pv for emacs-orgmode@gnu.org; Wed, 01 Feb 2012 05:02:41 -0500 In-Reply-To: <8762frkbyz.fsf@norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org At Tue, 31 Jan 2012 12:39:48 -0500, Bernt Hansen wrote: > > Jacek Generowicz writes: > > > 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 I see. Should I infer that org-mode doesn't provide any features for applying different strategies to different portions of single day's display in the agenda? In other words there are no hooks into the standard agenda sorting strategy, and if you want to modify its behaviour you essentially have to roll your own from scratch, duplicating much of the original effort? > HTH, Yup. Thanks.