emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Dunsmore <jason@dunsmor.com>
To: Chris Wallace <chris.wallace@cimr.cam.ac.uk>
Cc: emacs-orgmode@gnu.org, Jason Dunsmore <jasondunsmore@gmail.com>
Subject: Re: Agenda view: ignoring everything that is DONE
Date: Mon, 10 Oct 2011 10:54:04 -0500	[thread overview]
Message-ID: <87aa98hmg3.fsf@riotblast.dunsmor.com> (raw)
In-Reply-To: <4E931321.8090408@cimr.cam.ac.uk> (Chris Wallace's message of "Mon, 10 Oct 2011 16:45:37 +0100")

Chris Wallace <chris.wallace@cimr.cam.ac.uk> writes:

> On 10/10/11 14:52, Jason Dunsmore wrote:
>> Chris Wallace<chris.wallace@cimr.cam.ac.uk>  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

  reply	other threads:[~2011-10-10 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 13:14 Agenda view: ignoring everything that is DONE Chris Wallace
2011-10-10 13:52 ` Jason Dunsmore
2011-10-10 15:45   ` Chris Wallace
2011-10-10 15:54     ` Jason Dunsmore [this message]
2011-10-10 15:57       ` Chris Wallace
2011-10-10 15:54     ` John Hendy
2011-10-10 15:58     ` Brian van den Broek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aa98hmg3.fsf@riotblast.dunsmor.com \
    --to=jason@dunsmor.com \
    --cc=chris.wallace@cimr.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jasondunsmore@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).