From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mueen Nawaz Subject: Re: Question about searches (ultimately for agenda) Date: Wed, 16 Dec 2009 22:53:26 -0600 Message-ID: References: <22ED17FE-4FB4-4E3E-943A-7B6B6FF92AAF@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NL8Nq-0007RZ-Cv for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 23:54:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NL8Nl-0007PL-FH for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 23:54:37 -0500 Received: from [199.232.76.173] (port=47792 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NL8Nl-0007PI-AB for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 23:54:33 -0500 Received: from lo.gmane.org ([80.91.229.12]:54285) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NL8Nk-0007Qq-Ur for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 23:54:33 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NL8Nd-0004Ae-Eg for emacs-orgmode@gnu.org; Thu, 17 Dec 2009 05:54:25 +0100 Received: from c-98-228-137-161.hsd1.il.comcast.net ([98.228.137.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 05:54:25 +0100 Received: from mueen by c-98-228-137-161.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Dec 2009 05:54:25 +0100 In-Reply-To: <22ED17FE-4FB4-4E3E-943A-7B6B6FF92AAF@gmail.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: emacs-orgmode@gnu.org On 12/16/09 03:37, Carsten Dominik wrote: > This is what skip conditions are for. Here is an entry for > org-agenda-custom-commands which does this for the specific > "Jack" example: > > ("X" "Tags match ignoring done stuff" tags "Jack" > ((org-agenda-skip-function > '(and > (org-entry-is-done-p) > (outline-next-heading) > (point))))) Almost. It worked if I exclude (outline-next-heading). Was there a reason you had that? Also, I'm pretty weak with Emacs Lisp. What does (point) do? Google's no help (obviously). > If you want to be prompted for the tags match, leave the match element > empty (empty string). But do that only after you next upgrade from > the git repo, because there was a bug related to prompting. Thanks. I'll wait till the next version, and then add the config in - no rush! Mueen