From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Can't make TODO dependencies work Date: Sun, 1 Feb 2009 20:21:50 +0100 Message-ID: <82B40ECB-ADB0-441D-885B-2CD64DA53EFE@uva.nl> References: <20090201121412.657196d2@johnrakestraw.com> <20090201124540.2c5a1c45@johnrakestraw.com> <941FA03B-2A6D-40ED-8D4B-A5657BEA9798@uva.nl> <20090201132310.57b6e384@johnrakestraw.com> Mime-Version: 1.0 (Apple Message framework v930.3) 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 1LThtH-0002E4-AY for emacs-orgmode@gnu.org; Sun, 01 Feb 2009 14:21:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LThtE-0002Dr-Js for emacs-orgmode@gnu.org; Sun, 01 Feb 2009 14:21:57 -0500 Received: from [199.232.76.173] (port=46963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LThtE-0002Do-HK for emacs-orgmode@gnu.org; Sun, 01 Feb 2009 14:21:56 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:39383) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LThtE-0007py-2N for emacs-orgmode@gnu.org; Sun, 01 Feb 2009 14:21:56 -0500 Received: by ewy13 with SMTP id 13so1661885ewy.18 for ; Sun, 01 Feb 2009 11:21:55 -0800 (PST) In-Reply-To: <20090201132310.57b6e384@johnrakestraw.com> 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: John Rakestraw Cc: emacs-orgmode@gnu.org On Feb 1, 2009, at 7:23 PM, John Rakestraw wrote: > On Sun, 1 Feb 2009 19:03:46 +0100 > Carsten Dominik wrote: > >>> This is misleading. I realized that dependencies *do* work >>> consistently >>> in the minimal configuration. With the header line in the test >>> file, I can change the main task from TODO to STARTED (or to any of >>> the other non-done states), but I'm blocked from changing it to >>> DONE. >> >> This is how it should be. > > I agree -- that's why I apologized for introducing that point. >> >>> But they still don't work with my usual configuration. >> >> Well, if the value of org-blocker-hook is nil in this case, I >> am not surprised! Why is it nil? If you set the >> org-enforce... variables, the hook should be filled >> with the two functions. > > I don't know why it's nil. However, I've discovered a bit more. It > seems that the problem is that my settings in my org-config file: > > (setq org-enforce-todo-dependencies t) > (setq org-agenda-dim-blocked-tasks 'invisible) > (setq org-enforce-todo-checkbox-dependencies t) > > didn't prompt the required change in the value of org-blocker-hook. > With these lines in my org config file, the values of the three > variables are as expected, but the value of org-blocker-hook remains > nil, even if I stop and re-start emacs. You need to set these variables before org.el is loaded. - Carsten > > > When I change the value of org-enforce-todo-dependencies using > customize, then the value of org-blocker-hook is what it should be, > and > the dependencies work, even if I stop and re-start emacs. > > So presumably something else in my config file is keeping > org-blocker-hook from being re-set? > > I'd prefer not to use the customize function, so I'd hoped to set it > in > my config file. > > Thanks, and apologies for not sorting through this a bit more before > the initial post. > > --John > >