From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Agenda view: ignoring everything that is DONE Date: Mon, 10 Oct 2011 10:54:21 -0500 Message-ID: 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=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIBN-0001iF-Q4 for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDIBL-00076j-ME for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:25 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:50078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIBL-000761-BL for emacs-orgmode@gnu.org; Mon, 10 Oct 2011 11:54:23 -0400 Received: by eye4 with SMTP id 4so860195eye.0 for ; Mon, 10 Oct 2011 08:54:21 -0700 (PDT) In-Reply-To: <4E931321.8090408@cimr.cam.ac.uk> 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 On Mon, Oct 10, 2011 at 10:45 AM, Chris Wallace wrote: > On 10/10/11 14:52, Jason Dunsmore wrote: >> >> Chris Wallace =C2=A0writes: >> >>> 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. =C2=A0This is how agenda worked a year ago before I went on mater= nity >>> 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. =C2=A0I do have those variables set. =C2= =A0I have now > commented one by one every line in my org setup and customisation and fou= nd > that the problem only occurs when customize includes the line: > > '(org-todo-keywords (quote ((sequence "TODO" "DONE" "|" "CANCELLED")))) I think you need "DONE" on the other side of the pipe for your desired action to work properly. ,--- http://orgmode.org/manual/Workflow-states.html). --- | The vertical bar separates the TODO keywords (states that need action) | from the DONE states (which need no further action). `--- John > > This I set from within customize-variable, and appears to follow the > description given for that variable. =C2=A0Perhaps it is clashing with so= mething > 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 > > >