From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladi Solutka Subject: Re: custom commands 'todo-tree' and org-agenda-skip-function Date: Wed, 1 Oct 2008 17:06:28 +0000 (UTC) Message-ID: References: <1222437318.28326.1276123219@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl59z-0003Zh-3N for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 13:06:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl59y-0003ZT-Nn for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 13:06:46 -0400 Received: from [199.232.76.173] (port=59782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl59y-0003ZQ-IS for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 13:06:46 -0400 Received: from main.gmane.org ([80.91.229.2]:51438 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kl59y-0007ke-8x for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 13:06:46 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kl59s-0004WI-6b for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 17:06:40 +0000 Received: from ppp-82-135-90-102.dynamic.mnet-online.de ([82.135.90.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 17:06:40 +0000 Received: from mmlists by ppp-82-135-90-102.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 17:06:40 +0000 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 Hi! Carsten Dominik uva.nl> writes: > > 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. Oh, ok, I see :-| This wasn't clear to me from the manual - thanks for clarification! Hm. Thou I nearly don't dare to ask: Are there any chances or plans that skipping in the sparse-tree will be implemented? Anyway, thanks for orgmode :-))))) --- \\/ladi