02/05/11 14:07, Carsten Dominik > On May 2, 2011, at 11:52 AM, Antoine Levitt wrote: > >> 02/05/11 11:20, Carsten Dominik >>> Hi Antoine, >> >> Hi, thanks for replying to this old thread. >> >>> the agenda does list scheduled items anyway, so I do not see why >>> this information should be repeated in the logging items. >> >> It doesn't list DONE scheduled items. The point is I'd like for log-mode >> to be just like the normal agenda, except that it also lists DONE items. >> >> I think maybe log should just force org-agenda-skip-scheduled-if-done >> to t. > > > I don't really think so. A Scheduling timestamp, or a Deadline are for > planning. > The log view is for displaying when things where actually done. > > AA work-around for you is to make a custom agenda view and set > org-agenda-skip-scheduled-if-done in the options section of > that custom command....
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