[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Can't make TODO dependencies work
From: |
Paul Mead |
Subject: |
[Orgmode] Re: Can't make TODO dependencies work |
Date: |
Mon, 02 Feb 2009 07:13:30 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) |
Carsten Dominik <address@hidden> writes:
> In fact, we need a FAQ about this issue:
>
> Several variables in Org must already be set a load time.
> This is one of the reasons why you should not use (require 'org)
> in your setup, but better only (require 'org-install).
>
> However, org.el will also get loaded when you require some
> other org-... file, for example an add-on from the contrib
> directory.
>
> The right way is therefore *always* this (a general Emacs truth).
>
> First, set all your variables. Then load the package.
>
> In this particular example, the problem is the following:
> Setting the variables for the todo dependencies triggers
> adding functions to org-blocker-hook, at load time for org.el.
>
> I *could* do a different implementation, where the functions
> are always in the blocker hook, but are only active when the
> variables are set. However, the problem is then that it is
> difficult to see from the outside if the hook is doing something,
> and I want to use that knowledge to avoid overhead in the
> agenda for people who do not use todo dependencies.
>
> - Carsten
Excellent, I was wondering why I couldn't get this function to work.
Paul
- [Orgmode] Can't make TODO dependencies work, John Rakestraw, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, Carsten Dominik, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, John Rakestraw, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, Carsten Dominik, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, John Rakestraw, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, Carsten Dominik, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, Carsten Dominik, 2009/02/01
- Re: [Orgmode] Can't make TODO dependencies work, John Rakestraw, 2009/02/01
- [Orgmode] Re: Can't make TODO dependencies work,
Paul Mead <=
- [Orgmode] Re: Can't make TODO dependencies work, Wes Hardaker, 2009/02/02
- [Orgmode] Re: Can't make TODO dependencies work, Carsten Dominik, 2009/02/02
- [Orgmode] Re: Can't make TODO dependencies work, Wes Hardaker, 2009/02/02