emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: emacs-orgmode@gnu.org
Subject: Re: TODO dependencies and file-level keywords
Date: Mon, 11 Jan 2010 18:54:42 +0100	[thread overview]
Message-ID: <CF6EC344-DA99-4C84-9D25-35FB0B48DCDA@gmail.com> (raw)
In-Reply-To: <83ocl0ljfs.fsf@yahoo.it>


On Jan 11, 2010, at 5:01 PM, Giovanni Ridolfi wrote:

> David Maus <maus.david@gmail.com> writes:
>
>> At Mon, 11 Jan 2010 15:08:08 +0100,
>> Giovanni Ridolfi wrote:
>>> Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
>>>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>>> Hi Chris, I am not able to reproduce this.
>>> I can reproduce it with the latest version:
>>> Org-mode version 6.34 (trans 2010-01-12 15:00 CET)
>>>> GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT- 
>>>> MJASON
>>>> Windows XP Pro SP3
>> You have to set the variable org-enforce-todo-dependencies to t.
>
> ok David,  thanks,
>
> + Setting the variable with :
>  (setq org-enforce-todo-dependencies t) C-x C-e
>  does not have effect:

That is expected, see the docstring of that variable.

> I can change line a
> + setting the variable in my .emacs and reloading emacs
>  (closed and re-run)
>  does not have effect: I can still change line a

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.

- Carsten

  reply	other threads:[~2010-01-11 18:48 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 [this message]
2010-01-12  0:33             ` Chris Randle
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=CF6EC344-DA99-4C84-9D25-35FB0B48DCDA@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giovanni.ridolfi@yahoo.it \
    /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).