emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Wes Hardaker <wjhns209@hardakers.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can't make TODO dependencies work
Date: Mon, 2 Feb 2009 22:08:55 +0100	[thread overview]
Message-ID: <3285DE88-1C40-4D27-A7C3-2054F4281F99@uva.nl> (raw)
In-Reply-To: <sd1vug4ye6.fsf@wes.hardakers.net>


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

>>>>>> On Sun, 1 Feb 2009 20:38:21 +0100, Carsten Dominik <dominik@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

  reply	other threads:[~2009-02-02 21:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090201121412.657196d2@johnrakestraw.com>
2009-02-01 17:21 ` Carsten Dominik
2009-02-01 17:45 ` John Rakestraw
     [not found]   ` <941FA03B-2A6D-40ED-8D4B-A5657BEA9798@uva.nl>
2009-02-01 18:23     ` John Rakestraw
2009-02-01 19:21       ` Carsten Dominik
2009-02-01 19:38         ` Carsten Dominik
2009-02-01 20:27           ` John Rakestraw
2009-02-02  7:13           ` Paul Mead
2009-02-02 16:05           ` Wes Hardaker
2009-02-02 21:08             ` Carsten Dominik [this message]
2009-02-02 22:35               ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3285DE88-1C40-4D27-A7C3-2054F4281F99@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=wjhns209@hardakers.net \
    --subject='Re: Can'\''t make TODO dependencies work' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).