From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: Agenda view: ignoring everything that is DONE Date: Mon, 10 Oct 2011 10:54:04 -0500 Message-ID: <87aa98hmg3.fsf@riotblast.dunsmor.com> References: <4E92EF9F.3020509@cimr.cam.ac.uk> <87mxd9gdiu.fsf@riotblast.dunsmor.com> <4E931321.8090408@cimr.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIB6-0001El-D6 for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDIB5-00072E-Es for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:08 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:52367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIB5-000723-BU for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:07 -0400 In-Reply-To: <4E931321.8090408@cimr.cam.ac.uk> (Chris Wallace's message of "Mon, 10 Oct 2011 16:45:37 +0100") 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: Chris Wallace Cc: emacs-orgmode@gnu.org, Jason Dunsmore 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