emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gonzalo Camarillo <gcamaril@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-collector - Date-based conditions
Date: Tue, 5 Dec 2017 19:13:00 +0200	[thread overview]
Message-ID: <60b29962-13be-2e68-6aa9-a4e68cb87f36@gmail.com> (raw)

Hi,

I am using org-collector to generate agenda views. For example, the
following block includes all items whose TODO keyword is "WAITING":

#+BEGIN: propview :conds ((string= TODO "WAITING")) :cols (ITEM EFFORT)

#+END:

I would like to add an additional condition based on the SCHEDULED
property of items. I would like to list all items whose SCHEDULED
property is less (earlier) or equal than today. How can I write such a
condition?

To do the above using org-agenda-custom-commands, I use the following:

  tags "TODO=\"WAITING\"+SCHEDULED<=\"<today>\""

I would like to do the same using org-collector instead.


Additionally, how can I write a condition to select items without a TODO
keyword? I try (string= TODO "") but it does not seem to work.

Thanks,

Gonzalo

             reply	other threads:[~2017-12-05 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 17:13 Gonzalo Camarillo [this message]
2017-12-06  9:27 ` org-collector - Date-based conditions Gonzalo Camarillo

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=60b29962-13be-2e68-6aa9-a4e68cb87f36@gmail.com \
    --to=gcamaril@gmail.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).