Antoine Levitt <antoine.lev...@gmail.com> writes: > 02/05/11 17:22, Matt Lundin >> Antoine Levitt <antoine.lev...@gmail.com> writes: >> >> [...] >> >>> Alright, so I did that, and I seem to have encountered an org-mode >>> bug. Put this in .emacs >>> >>> (setq >>> org-agenda-skip-scheduled-if-done t >>> org-agenda-custom-commands >>> '(("l" "Agenda with done items" >>> agenda "" ((org-agenda-skip-scheduled-if-done nil))))) >>> >>> (define-key org-agenda-mode-map (kbd "l") (lambda () (interactive) >>> (org-agenda nil "l"))))) >>> >>> M-x org-agenda a -> displays only TODO items, which is fine. >>> l -> display of DONE items also, which is also fine. >>> q -> quits org-agenda >>> M-x org-agenda a -> still fine >>> M-x org-agenda b/f -> also displays DONE items, which is a bug >> >> I cannot reproduce this. What version of org-mode are you using? >> >> - Matt > > Right, sorry, I was using org-agenda-list. Here are the updated > instructions > > M-x org-agenda a -> displays only TODO items, which is fine. > l -> display of DONE items also, which is also fine. > q -> quits org-agenda > M-x org-agenda-list -> still fine > b/f -> also displays DONE items
I can confirm this bug with this latter set of instructions, though I'm puzzled why M-x org-agenda-list behaves differently than C-c a a. Best, Matt