From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: TODO dependencies and file-level keywords Date: Tue, 12 Jan 2010 06:30:16 +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> <4B4BC359.207@amlog.co.uk> 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 1NUZKq-00024O-0J for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 00:30:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUZKk-00021t-Ca for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 00:30:30 -0500 Received: from [199.232.76.173] (port=51464 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUZKk-00021q-6T for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 00:30:26 -0500 Received: from ey-out-1920.google.com ([74.125.78.148]:22825) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUZKj-0007j0-PR for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 00:30:25 -0500 Received: by ey-out-1920.google.com with SMTP id 4so3748922eyg.34 for ; Mon, 11 Jan 2010 21:30:21 -0800 (PST) In-Reply-To: <4B4BC359.207@amlog.co.uk> 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: Chris Randle Cc: emacs-orgmode@gnu.org 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