emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: max@openchat.com
To: emacs-orgmode@gnu.org
Subject: 2nd org-done when invoked from Agenda bug
Date: Fri, 03 Aug 2007 17:17:40 -0400	[thread overview]
Message-ID: <871wekmi6j.wl%max@openchat.com> (raw)

$ 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	other threads:[~2007-08-03 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 21:17 max [this message]
2007-08-09  5:05 ` 2nd org-done when invoked from Agenda bug Carsten Dominik
2007-08-12  4:57   ` Max Mikhanosha
2007-08-12  6:30     ` Carsten Dominik

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=871wekmi6j.wl%max@openchat.com \
    --to=max@openchat.com \
    --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).