From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: org-enforce-todo-dependencies setting Date: Tue, 20 Mar 2012 21:26:20 -0400 Message-ID: <87mx7akamb.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAAJt-0006eg-Gm for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 21:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAAJr-0005oH-Og for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 21:26:33 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:13080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAAJr-0005nW-Km for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 21:26:31 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: carsten.dominik@gmail.com Cc: emacs-orgmode@gnu.org, jeff stern Hi Carsten, Are the last three lines of the description for org-enforce-todo-dependencies correct? --------------------------------------------------+ | ,----[ C-h v org-enforce-todo-dependencies RET ] | | org-enforce-todo-dependencies is a variable defined in `org.el'. | | Its value is t | | | | Documentation: | | Non-nil means undone TODO entries will block switching the parent to DONE. | | Also, if a parent has an :ORDERED: property, switching an entry to DONE will | | be blocked if any prior sibling is not yet done. | | Finally, if the parent is blocked because of ordered siblings of its own, | | the child will also be blocked. | | This variable needs to be set before org.el is loaded, and you need to <--+ | | restart Emacs after a change to make the change effective. The only way <--+-- HERE <-+ | to change is while Emacs is running is through the customize interface. <--+ `---- I set this variable with a setq in my .emacs long after loading org-mode (uncompiled) and have never run into any issues with it. ,----[ my .emacs lines 16-18 ] | (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) | (require 'org-install) `---- ,----[ my .emacs line 1568 ] | (setq org-enforce-todo-dependencies t) `---- >From the description it doesn't sound like my setup is supposed to work. According to git you wrote this. ,----[ git blame lisp/org.el ] | 2949012f lisp/org.el (Carsten Dominik 2009-02-01 23:49:03 +0100 2273) This variable needs to be set before org.el is loaded, and you need to | 2949012f lisp/org.el (Carsten Dominik 2009-02-01 23:49:03 +0100 2274) restart Emacs after a change to make the change effective. The only way | 2949012f lisp/org.el (Carsten Dominik 2009-02-01 23:49:03 +0100 2275) to change is while Emacs is running is through the customize interface." `---- Thanks, Bernt