emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Chris Randle <chris@amlog.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: TODO dependencies and file-level keywords
Date: Tue, 12 Jan 2010 06:30:16 +0100	[thread overview]
Message-ID: <A27BDD73-5C8C-423E-99A8-09D57769926A@gmail.com> (raw)
In-Reply-To: <4B4BC359.207@amlog.co.uk>


On Jan 12, 2010, at 1:33 AM, Chris Randle wrote:

> Hi Carsten et al.
>
> Carsten Dominik wrote:
>> Same here, you need to set this variable *before* org.el gets  
>> loaded - I am
>> suspecting that you are setting it after?
>> This is kind of tricky.  Variable settings should therefore  
>> *before* any require statements, and also the
>>     (load-file "~/.emacs.d/custom.el")
>> or similar statement must be *before* all the `require' statements.
>> I am curious if, after you fix this, blocking will still not work.
>> Please let us know.
>
>
> Thank you Carsten, and others who chipped in with help. That was my  
> mistake. The org-enforce-todo-dependencies was set in my .emacs file  
> within a custom-set-variables block which came after some Org  
> require statements. Moving it before the require statements has  
> fixed my problem.
>
> I had read the help for the variable, but thought that it simply  
> meant that any changes to the variable wouldn't take effect until  
> after restarting the org-mode session. It hadn't occurred to me  
> about the order of statements in my .emacs file.

Thats right, this is not explained clearly enough.
I should try to get rid of thee dependencies.

- Carsten

>
> Thanks again.
>
> -- 
> Chris Randle

- Carsten

  reply	other threads:[~2010-01-12  5:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 12:07 TODO dependencies and file-level keywords Chris Randle
2010-01-11 12:34 ` Carsten Dominik
2010-01-11 13:38   ` Giovanni Ridolfi
2010-01-11 14:08     ` Giovanni Ridolfi
2010-01-11 14:52       ` David Maus
2010-01-11 16:01         ` Giovanni Ridolfi
2010-01-11 17:54           ` Carsten Dominik
2010-01-12  0:33             ` Chris Randle
2010-01-12  5:30               ` Carsten Dominik [this message]
2010-01-12  9:46             ` Giovanni Ridolfi

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=A27BDD73-5C8C-423E-99A8-09D57769926A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=chris@amlog.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).