emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] 2nd org-done when invoked from Agenda bug


From: max
Subject: [Orgmode] 2nd org-done when invoked from Agenda bug
Date: Fri, 03 Aug 2007 17:17:40 -0400
User-agent: Wanderlust/2.15.3 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.51 (x86_64-unknown-linux-gnu) MULE/5.0 (SAKAKI)

$ cat ~/org-bug.el

(add-to-list 'load-path "~/org-5.04")
(require 'org)
(add-to-list 'auto-mode-alist (cons "\\.org$" 'org-mode))
(setq org-agenda-files '("~/test.org"))
(setq org-log-done t)

$ cat ~/test.org

* Not used                                                              :bleah:
** TODO one
** TODO two

$ emacs --no-init-file
M-x load-file ~/org-bug.el RET  ;; set up the test case
M-x org-agenda RET              ;; run agenda command
t                               ;; press t key to display list of todos
                                ;; the following buffer is displayemwd
-----------------------------------------------------
Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)TODO (2)DONE
  test:       TODO one
  test:       TODO two
-----------------------------------------------------
press <down> twice ;; cursor is on first TODO
press t            ;; TODO changes to DONE
press <down>       ;; cursor is on the 2nd TODO
press t            ;; Agenda buffer changes to this
-----------------------------------------------------
Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)TODO (2)DONE
  test:       DONE one
  test:       one
-----------------------------------------------------

And the 2nd TODO is not marked as DONE but remains unchanged
in the ~/test.org buffer.

Does not happen if org-log-done is not set.

Regards,
  Max





reply via email to

[Prev in Thread] Current Thread [Next in Thread]