From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Randle Subject: Re: TODO dependencies and file-level keywords Date: Tue, 12 Jan 2010 00:33:29 +0000 Message-ID: <4B4BC359.207@amlog.co.uk> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUUhd-0003xS-9y for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 19:33:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUUhY-0003wN-Jv for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 19:33:44 -0500 Received: from [199.232.76.173] (port=37055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUUhY-0003wK-F0 for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 19:33:40 -0500 Received: from lon1-post-1.mail.demon.net ([195.173.77.148]:44392) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUUhY-0008Sb-3j for emacs-orgmode@gnu.org; Mon, 11 Jan 2010 19:33:40 -0500 In-Reply-To: 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: Carsten Dominik Cc: emacs-orgmode@gnu.org 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