From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG - Note logging to wrong task Date: Thu, 02 Oct 2008 11:16:33 -0400 Message-ID: <873ajfrpri.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlPv0-0004gB-QT for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 11:16:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlPuy-0004fP-2m for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 11:16:42 -0400 Received: from [199.232.76.173] (port=46711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlPux-0004fH-LG for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 11:16:39 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:61408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlPux-00086x-CW for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 11:16:39 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KlPuu-000Ln2-8I for emacs-orgmode@gnu.org; Thu, 02 Oct 2008 15:16:36 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id m92FGXew024932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 2 Oct 2008 11:16:34 -0400 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id m92FGXJG009818 for ; Thu, 2 Oct 2008 11:16:33 -0400 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: emacs-orgmode@gnu.org Hi Carsten, I ran into the following behaviour today and isolated it as well as I could. Here is a minimal emacs setup that reproduces the problem for me. ,----[ test.org ] | * Support | ** TODO [#A] Update SQL code for 2005 error handling | - State "WAITING" [2008-10-02 Thu 10:43] \\ | for something | [2008-08-27 Wed] | *** TODO Installation and Verification | :PROPERTIES: | :END: | - State "TODO" [2008-10-02 Thu 10:58] `---- ,----[ minimal.emacs ] | (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) | (global-font-lock-mode t) | (setq org-use-fast-todo-selection t) | | (setq org-todo-keywords | '((sequence "TODO(t)" "NEXT(n)" "WAITING(w@/!)" "ONGOING(o)" "DEFERRED(D@/!)" "|" "DONE(d!/!)" "CANCELLED(c@/!)"))) `---- | Key Sequence | Notes | |------------------------------------+-----------------------------------------------------------| | emacs -q -l minimal.emacs test.org | Start minimal emacs session editing test.org file | | TAB | expand Support to CHILDREN mode | | TAB | expand Support to SUBTREE mode | | down arrow | Move to TODO [#A] Update SQL code for 2005 error handling | | C-c C-t w | Change state to WAITING | | type something C-c C-c | enter a note | |------------------------------------+-----------------------------------------------------------| and the resulting file looks like this ,----[ test.org ] | * Support | ** WAITING [#A] Update SQL code for 2005 error handling | - State "WAITING" [2008-10-02 Thu 10:43] \\ | for something | [2008-08-27 Wed] | *** TODO Installation and Verification | :PROPERTIES: | :END: | - State "WAITING" [2008-10-02 Thu 11:14] \\ | type something | - State "TODO" [2008-10-02 Thu 10:58] `---- The 'type something' waiting note was filed under the level 3 task not the level 2 task we are changing the state for. I'm using org-mode commit 0ec6021080166fb6f8b30323ce92c4241ccd677e. Thanks again for org-mode! Regards, Bernt