From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: custom commands 'todo-tree' and org-agenda-skip-function Date: Fri, 26 Sep 2008 21:37:17 +0200 Message-ID: References: <1222437318.28326.1276123219@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjJ86-00070Q-V9 for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 15:37:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjJ84-0006yb-Vv for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 15:37:30 -0400 Received: from [199.232.76.173] (port=56620 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjJ84-0006yR-Pf for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 15:37:28 -0400 Received: from paard.ic.uva.nl ([145.18.40.182]:57033) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjJ84-0004h4-Qy for emacs-orgmode@gnu.org; Fri, 26 Sep 2008 15:37:29 -0400 In-Reply-To: <1222437318.28326.1276123219@webmail.messagingengine.com> 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: Vladi Solutka Cc: emacs-orgmode@gnu.org On Sep 26, 2008, at 3:55 PM, Vladi Solutka wrote: > 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? Maybe not intended, but the tree commands are using a completely separate implementation (the sparse-tree engine. You can specify tree commands in agenda-custom-commands as shortcuts, but really they have nothing to do with the agenda engine. And it is that engine which implements skipping. - Carsten