emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* stuck project and check boxes
@ 2010-08-27  6:12 Ivan Kanis
  2010-09-03  1:02 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Kanis @ 2010-08-27  6:12 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I'd like to setup my project like this:

* project
** TODO buy house
 - [ ] check house market
 - [ ] save money

I would like to list stuck projects with the following definition:

 - projects that do not have check boxes
 - projects that have all their check boxes set

Is it possible?

Kind regards,
-- 
Ivan Kanis
http://kanis.fr

Only the wise possess ideas; the greater part of mankind are possessed
by them.
    -- Samuel Taylor Coleridge 

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

* Re: stuck project and check boxes
  2010-08-27  6:12 stuck project and check boxes Ivan Kanis
@ 2010-09-03  1:02 ` Bastien
  2010-09-04  1:48   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2010-09-03  1:02 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: emacs-orgmode

Ivan Kanis <expire-by-2010-09-01@kanis.fr> writes:

> I would like to list stuck projects with the following definition:
>
>  - projects that do not have check boxes
>  - projects that have all their check boxes set
>
> Is it possible?

For now it's not possible.  It would require `org-stuck-projects' to
allow user-defined function to check against subtrees.  

Still, you can use a regexp to match non-stuck projects, if that may
help -- see the docstring of `org-stuck-projects'.

-- 
 Bastien

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

* Re: stuck project and check boxes
  2010-09-03  1:02 ` Bastien
@ 2010-09-04  1:48   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2010-09-04  1:48 UTC (permalink / raw)
  To: Bastien; +Cc: Ivan Kanis, emacs-orgmode

Bastien <bastien.guerry@wikimedia.fr> writes:

> Ivan Kanis <expire-by-2010-09-01@kanis.fr> writes:
>
>> I would like to list stuck projects with the following definition:
>>
>>  - projects that do not have check boxes
>>  - projects that have all their check boxes set
>>
>> Is it possible?
>
> For now it's not possible.  It would require `org-stuck-projects' to
> allow user-defined function to check against subtrees.  
>
> Still, you can use a regexp to match non-stuck projects, if that may
> help -- see the docstring of `org-stuck-projects'.

You can totally replace the standard stuck projects definition with a
custom agenda command that uses whatever lisp skipper functions you need
to accomplish the view you want.  I created a '#' custom agenda command
that uses a different stuck projects definition for my setup as outlined
at http://doc.norang.ca/org-mode.html#Projects

You should be able to implement something similar for your use case.

-Bernt

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

end of thread, other threads:[~2010-09-04  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27  6:12 stuck project and check boxes Ivan Kanis
2010-09-03  1:02 ` Bastien
2010-09-04  1:48   ` Bernt Hansen

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