emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: BUG - Note logging to wrong task
Date: Thu, 02 Oct 2008 11:16:33 -0400	[thread overview]
Message-ID: <873ajfrpri.fsf@gollum.intra.norang.ca> (raw)

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

             reply	other threads:[~2008-10-02 15:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 15:16 Bernt Hansen [this message]
2008-10-02 16:16 ` BUG - Note logging to wrong task Carsten Dominik
2008-10-02 16:28   ` Bernt Hansen
2008-10-02 16:36     ` Carsten Dominik
2008-10-02 17:32       ` Austin Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873ajfrpri.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).