From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Groth Subject: Re: agenda: storing searches _really_ Date: Wed, 25 Nov 2009 22:45:01 +0100 Message-ID: <878wdu1dpe.fsf@falma.de> References: <87ws26o0lk.fsf@falma.de> 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 1NDPg6-00089D-NL for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 16:45:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDPg2-000859-Qn for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 16:45:34 -0500 Received: from [199.232.76.173] (port=37714 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDPg2-00084q-GI for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 16:45:30 -0500 Received: from lo.gmane.org ([80.91.229.12]:59819) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDPg2-000430-0G for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 16:45:30 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NDPfy-0005i6-Id for emacs-orgmode@gnu.org; Wed, 25 Nov 2009 22:45:26 +0100 Received: from ip4da73686.direct-adsl.nl ([77.167.54.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Nov 2009 22:45:26 +0100 Received: from cwg by ip4da73686.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Nov 2009 22:45:26 +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: emacs-orgmode@gnu.org I found a solution to my problem: Christoph Groth writes: > I'm using org 6.29c. To view all items tagged with :work: in my > agenda I can type > > C-c a a (to view the current agenda) > / TAB work RET (to restrict the display) > > > Now I would like to get the same with typing > > C-c a w (defun my-org-agenda-list-with-filter (filter) (org-agenda-list) (org-agenda-filter-by-tag-show-all) (org-agenda-filter-apply filter)) (setq org-agenda-custom-commands '(("w" "Agenda for work" my-org-agenda-list-with-filter ("+work"))))