From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antoine Levitt Subject: Re: org-agenda-log-mode doesn't list past scheduled items if org-agenda-skip-scheduled-if-done is t Date: Mon, 02 May 2011 17:02:09 +0200 Message-ID: <87d3k1du32.fsf@gmail.com> References: <87fwpxgfc5.fsf@gmail.com> <6BBB68CA-0FCD-4A1A-AFF8-CE3CF182B3E8@gmail.com> <8762pt1lbd.fsf@gmail.com> <3F84DFAB-07FB-41E8-BD0D-950DD773A0BC@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGugP-0005Lp-O0 for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:05:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGugO-00080l-HT for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:05:09 -0400 Received: from lo.gmane.org ([80.91.229.12]:59100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGugO-000800-Ao for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:05:08 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QGugL-0004TZ-VW for emacs-orgmode@gnu.org; Mon, 02 May 2011 17:05:05 +0200 Received: from portable56.ceremade.dauphine.fr ([193.48.71.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 17:05:05 +0200 Received: from antoine.levitt by portable56.ceremade.dauphine.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2011 17:05:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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