From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Agenda view with tags filter Date: Thu, 22 Nov 2007 00:29:29 +0000 Message-ID: <87ve7v9l7a.fsf@bzg.ath.cx> References: <87oddqj669.fsf@kanis.eu> <87lk8tzqhw.fsf@bzg.ath.cx> <87k5odr9c4.fsf@kanis.eu> <8763zxy8z4.fsf@bzg.ath.cx> <87pry36ztd.fsf@kanis.fr> 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 1Iuzwt-00014Z-Hv for emacs-orgmode@gnu.org; Wed, 21 Nov 2007 19:29:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iuzwp-000130-LM for emacs-orgmode@gnu.org; Wed, 21 Nov 2007 19:29:43 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iuzwp-00012q-DA for emacs-orgmode@gnu.org; Wed, 21 Nov 2007 19:29:39 -0500 Received: from nf-out-0910.google.com ([64.233.182.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iuzwo-0002D5-Iv for emacs-orgmode@gnu.org; Wed, 21 Nov 2007 19:29:38 -0500 Received: by nf-out-0910.google.com with SMTP id f5so2526125nfh for ; Wed, 21 Nov 2007 16:29:36 -0800 (PST) In-Reply-To: <87pry36ztd.fsf@kanis.fr> (Ivan Kanis's message of "Wed, 21 Nov 2007 22:42:06 +0100") 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: Ivan Kanis Cc: emacs-orgmode@gnu.org Ivan Kanis writes: >> (org-add-agenda-custom-command >> '("h" agenda "" >> ((org-agenda-skip-function >> '(org-agenda-skip-entry 'notregexp ":home:")) >> (org-agenda-overriding-header "Agenda with :home: tag:")))) > > Thanks for the tip, you code did not quite work for me. I think > org-agenda-skip-entry was missiong. Sorry, typo. Here is the correct version (org-add-agenda-custom-command '("h" agenda "" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":home:")) (org-agenda-overriding-header "Agenda with :home: tag:")))) Basically replace `org-agenda-skip-entry' (which doesn't exist) by `org-agenda-skip-entry-if'. -- Bastien