From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Filtering for effort in org-agenda Date: Mon, 30 Mar 2009 13:01:37 -0500 Message-ID: <87tz5aq48u.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoLnb-0002Ni-FU for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:01:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoLnW-0002I9-Pn for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:01:27 -0400 Received: from [199.232.76.173] (port=51849 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoLnW-0002I3-Mj for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:01:22 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:45232) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoLnW-0004hc-AL for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:01:22 -0400 Received: from crunchbang (vu019215.valpo.edu [152.228.168.123]) by mail.messagingengine.com (Postfix) with ESMTPSA id 6AD1D46B81 for ; Mon, 30 Mar 2009 14:01:21 -0400 (EDT) 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: Org Mode List 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. Best, Matt