From mboxrd@z Thu Jan 1 00:00:00 1970 From: max@openchat.com Subject: 2nd org-done when invoked from Agenda bug Date: Fri, 03 Aug 2007 17:17:40 -0400 Message-ID: <871wekmi6j.wl%max@openchat.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IH4X0-0004z3-Pj for emacs-orgmode@gnu.org; Fri, 03 Aug 2007 17:17:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IH4Wz-0004yr-CX for emacs-orgmode@gnu.org; Fri, 03 Aug 2007 17:17:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IH4Wz-0004yo-2g for emacs-orgmode@gnu.org; Fri, 03 Aug 2007 17:17:57 -0400 Received: from p84-72.acedsl.com ([66.114.84.72] helo=momoland.openchat.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IH4Ww-0001Nw-T3 for emacs-orgmode@gnu.org; Fri, 03 Aug 2007 17:17:55 -0400 Received: from momoland.openchat.com (localhost [127.0.0.1]) by momoland.openchat.com (Postfix) with ESMTP id F1A89F006C33 for ; Fri, 3 Aug 2007 17:17:40 -0400 (EDT) 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 $ 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 twice ;; cursor is on first TODO press t ;; TODO changes to DONE press ;; 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