emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Vladi Solutka <mmlists@eml.cc>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: custom commands 'todo-tree' and org-agenda-skip-function
Date: Sat, 4 Oct 2008 18:36:35 +0200	[thread overview]
Message-ID: <0B75CBE1-66FB-4FD3-89EC-BE16B3BD3675@gmail.com> (raw)
In-Reply-To: <loom.20081001T170124-828@post.gmane.org>


On Oct 1, 2008, at 7:06 PM, Vladi Solutka wrote:

> Hi!
>
> Carsten Dominik <dominik <at> 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

      reply	other threads:[~2008-10-04 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 13:55 custom commands 'todo-tree' and org-agenda-skip-function Vladi Solutka
2008-09-26 19:37 ` Carsten Dominik
2008-10-01 17:06   ` Vladi Solutka
2008-10-04 16:36     ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0B75CBE1-66FB-4FD3-89EC-BE16B3BD3675@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mmlists@eml.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).