From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gonzalo Camarillo Subject: org-collector - Date-based conditions Date: Tue, 5 Dec 2017 19:13:00 +0200 Message-ID: <60b29962-13be-2e68-6aa9-a4e68cb87f36@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMGmN-0008I6-6T for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 12:13:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMGmI-0000EL-5G for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 12:13:11 -0500 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:34398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMGmH-0000E5-Sh for emacs-orgmode@gnu.org; Tue, 05 Dec 2017 12:13:06 -0500 Received: by mail-lf0-x235.google.com with SMTP id x20so1163938lff.1 for ; Tue, 05 Dec 2017 09:13:05 -0800 (PST) Received: from [192.168.1.6] (87-95-213-32.bb.dnainternet.fi. [87.95.213.32]) by smtp.googlemail.com with ESMTPSA id 91sm109375lfu.83.2017.12.05.09.13.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 09:13:02 -0800 (PST) Content-Language: en-US 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" To: emacs-orgmode@gnu.org 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<=\"\"" 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