emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: agenda view for TODOs without deadline and a certain tag
Date: Wed, 22 Feb 2012 09:30:07 +0100	[thread overview]
Message-ID: <ywodipizi834@de.bosch.com> (raw)
In-Reply-To: <20120221233350.635a39e9@gmail.com> (rennabh@gmail.com's message of "Tue, 21 Feb 2012 23:33:50 +0100")

Hi,

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

  reply	other threads:[~2012-02-22  8:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-20 21:41 agenda view for TODOs without deadline and a certain tag Renato
2012-02-21  7:56 ` Renato
2012-02-21 10:00   ` Brian van den Broek
2012-02-21 22:36 ` Simon Thum
2012-02-21 22:33   ` Renato
2012-02-22  8:30     ` Thomas Holst [this message]
     [not found]       ` <20120222105410.26753a2a@gmail.com>
2012-02-22 10:20         ` Thomas Holst

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=ywodipizi834@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=emacs-orgmode@gnu.org \
    /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).