On Feb 2, 2009, at 5:05 PM, Wes Hardaker wrote:

On Sun, 1 Feb 2009 20:38:21 +0100, Carsten Dominik <domi...@science.uva.nl > said:

CD> I *could* do a different implementation, where the functions
CD> are always in the blocker hook, but are only active when the
CD> variables are set.  However, the problem is then that it is
CD> difficult to see from the outside if the hook is doing something,
CD> and I want to use that knowledge to avoid overhead in the
CD> agenda for people who do not use todo dependencies.

FYI, I'd actually suggest this approach.  I think the number of people
that will get confused by variable-and-loading-ordering will be far
greater than the number of people trying to figure out why the function
isn't doing anything (especially if in the function documentation it
says a variable must be set for it to perform any actions).

I too immediately tried the new TODO dependencies after the last release
announcement and couldn't get it to work...  Old habit of performing
'(require ...)' ahead of the variable settings.

I don't think this is easily possible in all cases, but I have made
this chance now for the dependency variables.  Causes some overhead
when entering org-mode, but only trivial.

But there are more such variables,

org-replace-disputed-keys
org-tab-follows-link
org-return-follows-link
org-mouse-1-follows-link

These all have to do with keymaps I am setting up al load time.

- Carsten


--
"In the bathtub of history the truth is harder to hold than the soap,
and much more difficult to find."  -- Terry Pratchett



_______________________________________________
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 via email to