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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to