Hi, · Renato <renn...@gmail.com> wrote: > On Tue, 21 Feb 2012 23:36:27 +0100 > Simon Thum <simon.t...@gmx.de> 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