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:35:02 +0200 Message-ID: <87y62pazfd.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> <87d3k1du32.fsf@gmail.com> <87ipttktyx.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGv9Q-0003F2-Uj for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:35:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGv9P-0004gv-WA for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:35:08 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:38485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGv9P-0004gl-On for emacs-orgmode@gnu.org; Mon, 02 May 2011 11:35:07 -0400 Received: by wwb39 with SMTP id 39so5364005wwb.30 for ; Mon, 02 May 2011 08:35:07 -0700 (PDT) In-Reply-To: <87ipttktyx.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 02 May 2011 11:22:46 -0400") 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: Matt Lundin Cc: emacs-orgmode@gnu.org 02/05/11 17:22, Matt Lundin > Antoine Levitt 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