From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: TODO dependencies and file-level keywords Date: Mon, 11 Jan 2010 18:54:42 +0100 Message-ID: References: <4B4B1493.3070104@amlog.co.uk> <5BEA9D3F-F3F7-4CDC-B5D1-6EA299403D76@gmail.com> <83r5pw69tr.fsf@yahoo.it> <83wrzoohtj.fsf@yahoo.it> <87y6k4r8wk.wl%maus.david@gmail.com> <83ocl0ljfs.fsf@yahoo.it> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUPJ2-00058r-VE for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 13:48:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUPIy-000585-DK for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 13:48:00 -0500 Received: from [199.232.76.173] (port=54780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUPIy-000580-5V for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 13:47:56 -0500 Received: from mail-ew0-f209.google.com ([209.85.219.209]:42363) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUPIx-0000PH-HC for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 13:47:55 -0500 Received: by ewy1 with SMTP id 1so3685294ewy.8 for ; Mon, 11 Jan 2010 10:47:54 -0800 (PST) In-Reply-To: <83ocl0ljfs.fsf@yahoo.it> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giovanni Ridolfi Cc: emacs-orgmode@gnu.org On Jan 11, 2010, at 5:01 PM, Giovanni Ridolfi wrote: > David Maus writes: > >> At Mon, 11 Jan 2010 15:08:08 +0100, >> Giovanni Ridolfi wrote: >>> Giovanni Ridolfi writes: >>>> Carsten Dominik 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