* How to get a list of todos with no TAGS
@ 2007-09-07 13:34 Rainer Stengele
2007-09-07 13:45 ` Bastien
0 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2007-09-07 13:34 UTC (permalink / raw)
To: emacs-orgmode
In order to find TODOs where I forgot to add a TAG:
How to get the list of all todos with no TAGS?
Rainer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to get a list of todos with no TAGS
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
0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2007-09-07 13:45 UTC (permalink / raw)
To: emacs-orgmode
Rainer Stengele <rainer.stengele@diplan.de> writes:
> How to get the list of all todos with no TAGS?
In-file view:
`C-c C-v' runs the command org-show-todo-tree.
Agenda view:
`C-c a t' lists all TODO entries.
--
Bastien
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to get a list of todos with no TAGS
2007-09-07 13:45 ` Bastien
@ 2007-09-07 14:05 ` Rainer Stengele
2007-09-07 14:18 ` Bastien
0 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2007-09-07 14:05 UTC (permalink / raw)
To: emacs-orgmode
Bastien schrieb:
> Rainer Stengele <rainer.stengele@diplan.de> writes:
>
>> How to get the list of all todos with no TAGS?
>
> In-file view:
> `C-c C-v' runs the command org-show-todo-tree.
>
> Agenda view:
> `C-c a t' lists all TODO entries.
>
C-c a t does not show a todo without a tag.
I checked the customised org-variables and could not find why.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: How to get a list of todos with no TAGS
2007-09-07 14:05 ` Rainer Stengele
@ 2007-09-07 14:18 ` Bastien
2007-09-07 14:41 ` Rainer Stengele
0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2007-09-07 14:18 UTC (permalink / raw)
To: emacs-orgmode
Rainer Stengele <rainer.stengele@diplan.de> writes:
> C-c a t does not show a todo without a tag.
My fault. Its job is to show all TODO entries.
This custom command will list all TODO entries (matching "TODO" as a
TODO keyword) with no tags:
(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: ")))))
Try it with `C-c a x'.
--
Bastien
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to get a list of todos with no TAGS
2007-09-07 14:18 ` Bastien
@ 2007-09-07 14:41 ` Rainer Stengele
2007-09-07 15:01 ` Bastien
0 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2007-09-07 14:41 UTC (permalink / raw)
To: emacs-orgmode
Bastien schrieb:
> Rainer Stengele <rainer.stengele@diplan.de> writes:
>
>> C-c a t does not show a todo without a tag.
>
> My fault. Its job is to show all TODO entries.
>
> This custom command will list all TODO entries (matching "TODO" as a
> TODO keyword) with no tags:
>
> (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: ")))))
>
> Try it with `C-c a x'.
>
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: How to get a list of todos with no TAGS
2007-09-07 14:41 ` Rainer Stengele
@ 2007-09-07 15:01 ` Bastien
2007-09-07 15:54 ` Rainer Stengele
0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2007-09-07 15:01 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to get a list of todos with no TAGS
2007-09-07 15:01 ` Bastien
@ 2007-09-07 15:54 ` Rainer Stengele
2007-09-09 15:29 ` Carsten Dominik
0 siblings, 1 reply; 8+ messages in thread
From: Rainer Stengele @ 2007-09-07 15:54 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: How to get a list of todos with no TAGS
2007-09-07 15:54 ` Rainer Stengele
@ 2007-09-09 15:29 ` Carsten Dominik
0 siblings, 0 replies; 8+ messages in thread
From: Carsten Dominik @ 2007-09-09 15:29 UTC (permalink / raw)
To: Rainer Stengele; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-09-09 15:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).