emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG - Note logging to wrong task
@ 2008-10-02 15:16 Bernt Hansen
  2008-10-02 16:16 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2008-10-02 15:16 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-02 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 15:16 BUG - Note logging to wrong task Bernt Hansen
2008-10-02 16:16 ` Carsten Dominik
2008-10-02 16:28   ` Bernt Hansen
2008-10-02 16:36     ` Carsten Dominik
2008-10-02 17:32       ` Austin Frank

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).