From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: custom commands 'todo-tree' and org-agenda-skip-function Date: Sat, 4 Oct 2008 18:36:35 +0200 Message-ID: <0B75CBE1-66FB-4FD3-89EC-BE16B3BD3675@gmail.com> 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 1KmA83-0004dH-5k for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 12:37:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmA82-0004ci-6T for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 12:37:14 -0400 Received: from [199.232.76.173] (port=36907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmA82-0004ce-0w for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 12:37:14 -0400 Received: from ey-out-1920.google.com ([74.125.78.147]:4589) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmA81-0001qC-Iv for emacs-orgmode@gnu.org; Sat, 04 Oct 2008 12:37:13 -0400 Received: by ey-out-1920.google.com with SMTP id 4so640521eyg.24 for ; Sat, 04 Oct 2008 09:37:12 -0700 (PDT) In-Reply-To: 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 Oct 1, 2008, at 7:06 PM, Vladi Solutka wrote: > 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? Not likely in the near future. You can do some hacking by using org- occur and the callback argument, but I think for complex searching the agenda is where the future likes. I think of sparse trees more like a quick-look tool. > > > Anyway, thanks for orgmode :-))))) You're welcome. - Carsten > > > --- \\/ladi > > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode