From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: agenda view for TODOs without deadline and a certain tag Date: Wed, 22 Feb 2012 09:30:07 +0100 Message-ID: References: <20120220224121.10d72f5d@gmail.com> <4F441C6B.3020707@gmx.de> <20120221233350.635a39e9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07aw-0003KS-U8 for emacs-orgmode@gnu.org; Wed, 22 Feb 2012 03:30:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S07aq-0002FT-47 for emacs-orgmode@gnu.org; Wed, 22 Feb 2012 03:30:38 -0500 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:56319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S07ap-0002EC-Pu for emacs-orgmode@gnu.org; Wed, 22 Feb 2012 03:30:32 -0500 Received: from vsmta12.fe.internet.bosch.com (unknown [10.4.98.30]) by imta23.fe.bosch.de (Postfix) with ESMTP id C3F9C582080D for ; Wed, 22 Feb 2012 09:30:21 +0100 (CET) Received: from localhost (vsgw1.fe.internet.bosch.com [10.4.98.15]) by vsmta12.fe.internet.bosch.com (Postfix) with SMTP id 9540A12101A8 for ; Wed, 22 Feb 2012 09:30:21 +0100 (CET) In-Reply-To: <20120221233350.635a39e9@gmail.com> (rennabh@gmail.com's message of "Tue, 21 Feb 2012 23:33:50 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Hi, =B7 Renato wrote: > On Tue, 21 Feb 2012 23:36:27 +0100 > Simon Thum wrote: > >> Hi Renato, >>=20 >> one of my block agendas has >> (tags-todo "@work&TODO=3D\"TODO\"&SCHEDULED=3D\"\"&DEADLINE=3D\"\") >>=20 >> i.e. lists todos which are tagged @work and aren't scheduled or >> deadlined. >>=20 > > thank you very much Simon, I added this to my .emacs: > > (setq org-agenda-custom-commands > '(("T" tags-todo > "TODO=3D\"TODO\"+SCHEDULED=3D\"\"+DEADLINE=3D\"\"-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=20 #+begin_src emacs-lisp (setq org-agenda-custom-commands '(("T" "Testing" tags-todo "TODO=3D"TODO"+SCHEDULED=3D\"\"+DEADLINE=3D\"\"" nil))) #+end_src But not when I try to do it interactive: C-c a m TODO=3D"TODO"+SCHEDULED=3D""+DEADLINE=3D"" 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. --=20 Mit freundlichen Gr=FC=DFen / Best regards=20 Thomas