From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Filtering for effort in org-agenda Date: Mon, 30 Mar 2009 15:20:24 -0400 Message-ID: <9694.1238440824@alphaville.usa.hp.com> References: <87tz5aq48u.fsf@fastmail.fm> <9525.1238439462@alphaville.usa.hp.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoN3Y-000283-G5 for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 15:22:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoN3V-000211-0I for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 15:22:00 -0400 Received: from [199.232.76.173] (port=43909 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoN3U-00020c-MM for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 15:21:56 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:23605) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoN3U-0007RL-AB for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 15:21:56 -0400 In-Reply-To: Message from Nick Dokos of "Mon, 30 Mar 2009 14:57:42 EDT." <9525.1238439462@alphaville.usa.hp.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org Mode List Nick Dokos wrote: > Matthew Lundin wrote: > > > > > A quick question. Sometimes during the day, when my effort is flagging, > > I like to see all items that have an effort of, say, < 0:10, so I can do > > a bunch of quick tasks in succession. When I apply the agenda filter ( / > > < 0:10 ), however, the resulting list includes all items that do not have a > > defined effort. Would it be possible to create an option to exclude > > items where effort is nil from the filtered list? > > > > I had a quick look at org-agenda-compare-effort in org-agenda.el (line > > 4734), and if I'm reading the function correctly, it gives items without > > a defined effort the value of 0. Is this correct? > > > > Any advice would be greatly appreciated. > > > > Take a look at org-sort-agenda-noeffort-is-high - it should be t by default > which should do what you want, but maybe you have changed it? > > Nick > Never mind !-) I should have waited for Carsten's mail, then I wouldn't have to get foot out of mouth... Nick