emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Rainer Stengele <rainer.stengele@diplan.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: How to get a list of todos with no TAGS
Date: Sun, 9 Sep 2007 17:29:35 +0200	[thread overview]
Message-ID: <0d566b117889ac3cbc957d787d40d363@science.uva.nl> (raw)
In-Reply-To: <fbrs7h$mjr$1@sea.gmane.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 <rainer.stengele@diplan.de> 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

      reply	other threads:[~2007-09-09 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 13:34 How to get a list of todos with no TAGS Rainer Stengele
2007-09-07 13:45 ` Bastien
2007-09-07 14:05   ` Rainer Stengele
2007-09-07 14:18     ` Bastien
2007-09-07 14:41       ` Rainer Stengele
2007-09-07 15:01         ` Bastien
2007-09-07 15:54           ` Rainer Stengele
2007-09-09 15:29             ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d566b117889ac3cbc957d787d40d363@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@diplan.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).