From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastjan Trepca" Subject: Re: Custom agenda view Date: Sat, 2 Feb 2008 20:27:45 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLO1n-0007zi-5g for emacs-orgmode@gnu.org; Sat, 02 Feb 2008 14:27:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLO1j-0007xm-FV for emacs-orgmode@gnu.org; Sat, 02 Feb 2008 14:27:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLO1j-0007xg-6t for emacs-orgmode@gnu.org; Sat, 02 Feb 2008 14:27:47 -0500 Received: from py-out-1112.google.com ([64.233.166.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLO1i-0006Sd-Sw for emacs-orgmode@gnu.org; Sat, 02 Feb 2008 14:27:47 -0500 Received: by py-out-1112.google.com with SMTP id u52so1699268pyb.1 for ; Sat, 02 Feb 2008 11:27:46 -0800 (PST) In-Reply-To: Content-Disposition: inline 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 Nevermind. Finally got through the elisp errors :) (org-add-agenda-custom-command '("w" "TODO" ((agenda "TODO" ((org-agenda-skip-function (lambda nil (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\:OFFICE\\:") ) )) ) (tags "OFFICE/NEXT")))) On 2/2/08, Sebastjan Trepca wrote: > Hi, > > I'm trying to create a custom view that should display agenda for only > items that are scheduled today and include a specific tag together > with tasks that has NEXT todo keyword and the same tag. > > Currently I have this: > > ("h" "Home tasks" ((agenda) (tags "HOME/NEXT"))) > > The problem is that agenda, it shows all scheduled tasks and not only > those with HOME tag. I tried with org-agenda-skip-entry-if but I can't > make it work. > > Thanks. > > -- > Sebastjan > -- Sebastjan