From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: How to get a list of todos with no TAGS Date: Sun, 9 Sep 2007 17:29:35 +0200 Message-ID: <0d566b117889ac3cbc957d787d40d363@science.uva.nl> References: <87hcm6h9mg.fsf@bzg.ath.cx> <877in2h844.fsf@bzg.ath.cx> <87d4wubjv1.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUOjF-00052h-My for emacs-orgmode@gnu.org; Sun, 09 Sep 2007 11:29:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUOjE-000529-LG for emacs-orgmode@gnu.org; Sun, 09 Sep 2007 11:29:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUOjE-00051w-Br for emacs-orgmode@gnu.org; Sun, 09 Sep 2007 11:29:40 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUOjD-0007Iy-TU for emacs-orgmode@gnu.org; Sun, 09 Sep 2007 11:29:40 -0400 In-Reply-To: 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: Rainer Stengele Cc: emacs-orgmode@gnu.org An alternative might be: Do a TAGS search with the match -{.}/! The first part -{.} means to exclude all headline where any tag matches the regular expression ".", i.e. it will exclude all headlines that do have a tag at all (beware of tag inheritance for this, this will exclude also headline that *inherit* a tag.) The "!" after the slash means the headline has to be a TODO to be listed. Even shorter, use the TODO/TAGS search (`C-c a M' instead of `C-c a m'). Then the TAG matcher "-{.}" would be enough already. - Carsten On Sep 7, 2007, at 17:54, Rainer Stengele wrote: > Bastien schrieb: >> Rainer Stengele writes: >> >>> Thank you first of all - but: >>> >>> it does not work: these todos for example do not show: >>> >>> *** TODO empty TODO >>> *** TODO [#A] [Dongleproblem]: CV070907_002 V07.14 und CV070829_005 >> >> --8<---------------cut here---------------start------------->8--- >> (setq org-agenda-custom-commands >> '(("x" todo "TODO" >> ((org-agenda-skip-function >> (lambda nil >> (org-agenda-skip-entry-if 'regexp ":[[:alnum:]:_@]+:[ >> \t]*$")) >> (org-agenda-overriding-header "TODO entries with no tags: >> ")))))) >> --8<---------------cut here---------------end--------------->8--- >> >> Small typo. Just add the "$" at the end of the regexp. >> >> -- >> Bastien >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > perfect, thank you! > > My fault: > > I started with the wrong TODO keyword, only looking after the search > string ... > > Until now every time I needed something more org-mode provides it > already - if only in the next > version ... great tool. > > > Rainer > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477