From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: agenda: storing searches _really_ Date: Wed, 04 Nov 2009 10:19:30 -0500 Message-ID: <874opagvwd.fsf@gollum.intra.norang.ca> 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 1N5heA-0007Dp-Co for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 10:19:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5he6-0007DQ-Mi for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 10:19:41 -0500 Received: from [199.232.76.173] (port=35509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5he6-0007DL-I9 for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 10:19:38 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:58756) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5he6-0000e4-88 for emacs-orgmode@gnu.org; Wed, 04 Nov 2009 10:19:38 -0500 In-Reply-To: <87ws26o0lk.fsf@falma.de> (Christoph Groth's message of "Wed\, 04 Nov 2009 14\:56\:07 +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: Christoph Groth Cc: emacs-orgmode@gnu.org 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 > > but I cannot figure out how to do that. > > I've RTFM and tried setting `org-agenda-custom-commands' in various > ways, also using `org-agenda-skip-function', but my solutions either I use fast tag filtering for this in the regular agenda. I find that much more flexible than a fixed agenda view for a single tag. In my setup I would do C-c a a / w to get the result you want (where w selects the :work: tag). This means I can filter the regular agenda from any of my many tags with a single / key selection and I don't have to defined custom agenda commands for each one. Each of my interesting tags has a fast selection key defined in org-tag-alist. HTH, -Bernt