From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wallace Subject: Re: Agenda view: ignoring everything that is DONE Date: Mon, 10 Oct 2011 16:57:54 +0100 Message-ID: <4E931602.6080003@cimr.cam.ac.uk> References: <4E92EF9F.3020509@cimr.cam.ac.uk> <87mxd9gdiu.fsf@riotblast.dunsmor.com> <4E931321.8090408@cimr.cam.ac.uk> <87aa98hmg3.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIEo-0002rF-AH for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:57:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDIEm-000839-NJ for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:57:58 -0400 Received: from ppsw-50.csi.cam.ac.uk ([131.111.8.150]:38797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIEm-00082z-G8 for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:57:56 -0400 In-Reply-To: <87aa98hmg3.fsf@riotblast.dunsmor.com> 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: Jason Dunsmore Cc: emacs-orgmode@gnu.org, Jason Dunsmore On 10/10/11 16:54, Jason Dunsmore wrote: > Chris Wallace writes: > >> On 10/10/11 14:52, Jason Dunsmore wrote: >>> Chris Wallace writes: >>> >>>> I want to include in my agenda only things that are TODO, or are >>>> scheduled and not marked DONE, or have a deadline and are not marked >>>> DONE. This is how agenda worked a year ago before I went on maternity >>>> leave, and now something has changed and I am seeing lots of DONE >>>> tasks which had a deadline -780 days ago. >>>> >>>> I have tried removing all org customisations relating to the agenda >>>> and todo list, and have read the agenda part of the manual, but I >>>> can't get this to work. >>> >>> You can use: >>> >>> --8<---------------cut here---------------start------------->8--- >>> (setq org-agenda-skip-scheduled-if-done t) >>> (setq org-agenda-skip-deadline-if-done t) >>> (setq org-agenda-skip-timestamp-if-done t) >>> --8<---------------cut here---------------end--------------->8--- >> >> Jason, >> >> thank you for the quick reply. I do have those variables set. I have >> now commented one by one every line in my org setup and customisation >> and found that the problem only occurs when customize includes the >> line: >> >> '(org-todo-keywords (quote ((sequence "TODO" "DONE" "|" "CANCELLED")))) > > I think the vertical bar placement is your problem, from the manual: > > "The vertical bar separates the TODO keywords (states that need action) > from the DONE states (which need no further action)." > > Try this: > > '((sequence "TODO" "|" "DONE" "CANCELLED")) > > Regards, > Jason > It works! Thank you, and John who was almost as quick in his reply :) Chris.