From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladi Solutka" Subject: custom commands 'todo-tree' and org-agenda-skip-function Date: Fri, 26 Sep 2008 15:55:18 +0200 Message-ID: <1222437318.28326.1276123219@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjDn0-0008UN-65 for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 09:55:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjDmz-0008U2-H0 for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 09:55:21 -0400 Received: from [199.232.76.173] (port=40148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjDmz-0008Tr-4D for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 09:55:21 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:51642) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjDmy-0000zn-MY for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 09:55:20 -0400 Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id B2ACF167BA6 for ; Fri, 26 Sep 2008 09:55:18 -0400 (EDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I'm currently playing with org-agenda-custom-commands and noticed that skipping scheduled entries does not work for todo-trees. Example: The following works fine for 'todo', but with 'todo-tree' (as used here) scheduled entries are also shown. (setq org-agenda-custom-commands '(("x" "Open" todo-tree "TODO" ((org-agenda-skip-function (lambda nil (org-agenda-skip-entry-if 'scheduled 'deadline))))))) Is this intended? --- \\/ladi