From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Re: Switching between many contexts Date: Tue, 03 Mar 2009 07:05:11 -0600 Message-ID: References: <87ocwjzts2.fsf@CPU107.opentrends.net> <20524da70903021021m3403e57etf9b796aab7371a73@mail.gmail.com> <87vdqrrcxw.fsf@gollum.intra.norang.ca> <87zlg27snk.fsf@CPU107.opentrends.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeUJB-0005FN-Iz for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 08:05:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeUJ9-0005DF-Ux for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 08:05:17 -0500 Received: from [199.232.76.173] (port=45973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeUJ9-0005D7-Pv for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 08:05:15 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:51268) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeUJ9-0008US-7S for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 08:05:15 -0500 In-Reply-To: <87zlg27snk.fsf@CPU107.opentrends.net> (Daniel Clemente's message of "Tue\, 03 Mar 2009 12\:27\:43 +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: Daniel Clemente Cc: Bernt Hansen , org-mode mailing list Daniel Clemente writes: > In fact I would like to use often the agenda view with several tags exc= luded, so the ideal setup would be an agenda custom search. > But I don't know which command to use in org-agenda-custom-commands: I = don't want tags-todo (that's a heading list), but the real agenda (with its= colors, dates, deadlines, etc.). However, the search type called =E2=80=9E= agenda=E2=80=9C seems not to accept tags to search. > Maybe =E2=80=9Eagenda=E2=80=9C could accept tags to search? > Or else I can try to do a custom command which emulates the agenda > but adds this filter; maybe with a local variable or with =E2=80=9Eskip > conditions=E2=80=9C (org-agenda-skip-function). For this you would indeed you a skip function. E.g., --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands '(("A" agenda "" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'regexp ":TAG:"))))= )) --8<---------------cut here---------------end--------------->8--- =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Best, Matt