emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Randle <chris@amlog.co.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: TODO dependencies and file-level keywords
Date: Tue, 12 Jan 2010 00:33:29 +0000	[thread overview]
Message-ID: <4B4BC359.207@amlog.co.uk> (raw)
In-Reply-To: <CF6EC344-DA99-4C84-9D25-35FB0B48DCDA@gmail.com>

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.

Thanks again.

-- 
Chris Randle

  reply	other threads:[~2010-01-12  0:33 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 [this message]
2010-01-12  5:30               ` Carsten Dominik
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=4B4BC359.207@amlog.co.uk \
    --to=chris@amlog.co.uk \
    --cc=carsten.dominik@gmail.com \
    --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).