From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Filtering for effort in org-agenda Date: Mon, 30 Mar 2009 20:29:26 +0200 Message-ID: References: <87tz5aq48u.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoMEq-0006qR-8T for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:29:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoMEl-0006nM-IR for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:29:35 -0400 Received: from [199.232.76.173] (port=46539 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoMEk-0006n7-TH for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:29:30 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:49401) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoMEk-00031c-FB for emacs-orgmode@gnu.org; Mon, 30 Mar 2009 14:29:30 -0400 Received: by ey-out-1920.google.com with SMTP id 13so423246eye.24 for ; Mon, 30 Mar 2009 11:29:29 -0700 (PDT) In-Reply-To: <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 On Mar 30, 2009, at 8:01 PM, 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? Correct. I guess we could define a variable to put a different default or so. Or we could apply org-sort-agenda-noeffort-is-high also in this case and supply a large number instead of 0. - Carsten > > Any advice would be greatly appreciated. > > Best, > Matt > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode