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:45:37 +0100 Message-ID: <4E931321.8090408@cimr.cam.ac.uk> References: <4E92EF9F.3020509@cimr.cam.ac.uk> <87mxd9gdiu.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]:43985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDI2u-0006TB-PV for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:45:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDI2t-00052B-Cu for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:45:40 -0400 Received: from ppsw-50.csi.cam.ac.uk ([131.111.8.150]:50922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDI2t-000522-36 for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:45:39 -0400 In-Reply-To: <87mxd9gdiu.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 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")))) This I set from within customize-variable, and appears to follow the description given for that variable. Perhaps it is clashing with something else, I will keep searching, but if you know of anything else that is possibly responsible I would be grateful. Chris. > This is in the FAQ: > http://orgmode.org/worg/org-faq.html#removing-done-items-from-agenda > > Regards, > Jason