emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Combination of 'ordered' property and 'scheduled' hides TODO items.
@ 2010-03-31  9:05 mrb
  2010-04-04  7:07 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: mrb @ 2010-03-31  9:05 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1340 bytes --]

Hi,

I'm using the ORDERED property in some/most of my projects and
generally hide BLOCKED items everywhere except in a special list of
blocked items which I review with some regularity. Overall, this works
fine, org nicely filters out what is possible to work on and hides
others.

I'd like to make  it a bit smarter by having scheduled and deadlined
items be 'unhidden' even though they would be invisible according to
their order.

A typical structure to which the above would apply is something like
this:

* PROJ Some project with sequential tasks
:PROPERTIES:
:ORDERED: t
:END:
** TODO First
** TODO Second, but scheduled
SCHEDULED: <2010-03-30 Tue>
** TODO Third, but deadlined
DEADLINE: <2010-03-29 Mon>
** TODO Last

In my lists the 'Second, but scheduled' and 'Third, but deadlined' do
not appear, because they are blocked by 'First'.

For the above situations, I'd like to make an exception in the hiding,
but do not know where to start. I could imagine a customization
variable which allows a list of exceptions to the 'hide' rule. 

Anyone has any tips/pointers on the above? 

Thx,
marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build          -- http://cobra.mrblog.nl

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1347 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 3+ messages in thread

* Re: Combination of 'ordered' property and 'scheduled' hides TODO items.
  2010-03-31  9:05 Combination of 'ordered' property and 'scheduled' hides TODO items mrb
@ 2010-04-04  7:07 ` Carsten Dominik
  2010-04-04  7:42   ` mrb
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-04-04  7:07 UTC (permalink / raw)
  To: mrb; +Cc: emacs-orgmode

Hi,

you would have to write your own functions for the blocker hook and  
install it instead of the default one.  If would not be so hard -  
basically call the default blocker hook function and then test  
yourself if the entry is scheduled, and combine the result.

However, I would just use a normal agenda, where you set org-agenda- 
dim-blocked-tasks to nil in the option section.

HTH

- Carsten

On Mar 31, 2010, at 11:05 AM, mrb@hsdev.com wrote:

> Hi,
>
> I'm using the ORDERED property in some/most of my projects and
> generally hide BLOCKED items everywhere except in a special list of
> blocked items which I review with some regularity. Overall, this works
> fine, org nicely filters out what is possible to work on and hides
> others.
>
> I'd like to make  it a bit smarter by having scheduled and deadlined
> items be 'unhidden' even though they would be invisible according to
> their order.
>
> A typical structure to which the above would apply is something like
> this:
>
> * PROJ Some project with sequential tasks
> :PROPERTIES:
> :ORDERED: t
> :END:
> ** TODO First
> ** TODO Second, but scheduled
> SCHEDULED: <2010-03-30 Tue>
> ** TODO Third, but deadlined
> DEADLINE: <2010-03-29 Mon>
> ** TODO Last
>
> In my lists the 'Second, but scheduled' and 'Third, but deadlined' do
> not appear, because they are blocked by 'First'.
>
> For the above situations, I'd like to make an exception in the hiding,
> but do not know where to start. I could imagine a customization
> variable which allows a list of exceptions to the 'hide' rule.
>
> Anyone has any tips/pointers on the above?
>
> Thx,
> marcel
>
> -- 
> Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
> HS-Development BV    -- http://www.hsdev.com
> So! web applications -- http://make-it-so.info
> Cobra build          -- http://cobra.mrblog.nl
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: Combination of 'ordered' property and 'scheduled' hides TODO items.
  2010-04-04  7:07 ` Carsten Dominik
@ 2010-04-04  7:42   ` mrb
  0 siblings, 0 replies; 3+ messages in thread
From: mrb @ 2010-04-04  7:42 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1138 bytes --]

On Sun 04-Apr-2010 09:07
Carsten Dominik <carsten.dominik@gmail.com> wrote:

> you would have to write your own functions for the blocker hook and  
> install it instead of the default one.  If would not be so hard -  
> basically call the default blocker hook function and then test  
> yourself if the entry is scheduled, and combine the result.
> 
> However, I would just use a normal agenda, where you set org-agenda- 
> dim-blocked-tasks to nil in the option section.

Thanks for your answer. What I have done since I posted my message is
hide the BLOCKED tasks from everywhere but two places:

1. the (daily) view in my agenda 
2. a specific list of BLOCKED + SCHEDULED to check if I've overlooked
anything.

where in the agenda view I have a shortcut key assigned to toggling
the 'org-agenda-dim-blocked-tasks' between the values 'invisible' and
't'

This comes close enough for now. Thanks again!

marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build          -- http://cobra.mrblog.nl

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1347 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 3+ messages in thread

end of thread, other threads:[~2010-04-04  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31  9:05 Combination of 'ordered' property and 'scheduled' hides TODO items mrb
2010-04-04  7:07 ` Carsten Dominik
2010-04-04  7:42   ` mrb

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