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 14:57:42 -0400 Message-ID: <9525.1238439462@alphaville.usa.hp.com> References: <87tz5aq48u.fsf@fastmail.fm> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoMhY-0002jG-MA for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:59:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoMhT-0002dI-Pp for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:59:15 -0400 Received: from [199.232.76.173] (port=45812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoMhT-0002d0-F0 for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:59:11 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:19655) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoMhT-0001bF-1f for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:59:11 -0400 In-Reply-To: Message from Matthew Lundin of "Mon, 30 Mar 2009 13:01:37 CDT." <87tz5aq48u.fsf@fastmail.fm> 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: Matthew Lundin Cc: Org Mode List 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