emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* custom commands 'todo-tree' and org-agenda-skip-function
@ 2008-09-26 13:55 Vladi Solutka
  2008-09-26 19:37 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Vladi Solutka @ 2008-09-26 13:55 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: custom commands 'todo-tree' and org-agenda-skip-function
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2008-09-26 19:37 UTC (permalink / raw)
  To: Vladi Solutka; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: custom commands 'todo-tree' and org-agenda-skip-function
  2008-09-26 19:37 ` Carsten Dominik
@ 2008-10-01 17:06   ` Vladi Solutka
  2008-10-04 16:36     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Vladi Solutka @ 2008-10-01 17:06 UTC (permalink / raw)
  To: emacs-orgmode

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?

Anyway, thanks for orgmode :-)))))

--- \\/ladi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: custom commands 'todo-tree' and org-agenda-skip-function
  2008-10-01 17:06   ` Vladi Solutka
@ 2008-10-04 16:36     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-10-04 16:36 UTC (permalink / raw)
  To: Vladi Solutka; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-04 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).