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 <[EMAIL PROTECTED]> 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:]:[EMAIL PROTECTED]:[ \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



_______________________________________________
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

Reply via email to