[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] agenda view for TODOs without deadline and a certain tag
From: |
Thomas Holst |
Subject: |
Re: [O] agenda view for TODOs without deadline and a certain tag |
Date: |
Wed, 22 Feb 2012 09:30:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Hi,
· Renato <address@hidden> wrote:
> On Tue, 21 Feb 2012 23:36:27 +0100
> Simon Thum <address@hidden> wrote:
>
>> Hi Renato,
>>
>> one of my block agendas has
>> (tags-todo "@work&TODO=\"TODO\"&SCHEDULED=\"\"&DEADLINE=\"\")
>>
>> i.e. lists todos which are tagged @work and aren't scheduled or
>> deadlined.
>>
>
> thank you very much Simon, I added this to my .emacs:
>
> (setq org-agenda-custom-commands
> '(("T" tags-todo
> "TODO=\"TODO\"+SCHEDULED=\"\"+DEADLINE=\"\"-play-computer|bug" )))
>
> and now I have exactly what I wanted (and learned more than something
> on custom agenda views and tag/properties matching).
listing todo items which are not scheduled and don't have a deadline
works by setting
#+begin_src emacs-lisp
(setq org-agenda-custom-commands
'(("T" "Testing" tags-todo
"TODO="TODO"+SCHEDULED=\"\"+DEADLINE=\"\"" nil)))
#+end_src
But not when I try to do it interactive:
C-c a m TODO="TODO"+SCHEDULED=""+DEADLINE="" <RET>
lists all todo items even if they are sheduled or have a deadline. I
also tried to escape the " or use "<>" but neither did work.
How would I achieve the same results as with the agenda custom command.
--
Mit freundlichen Grüßen / Best regards
Thomas