emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Agenda view: ignoring everything that is DONE


From: Jason Dunsmore
Subject: Re: [O] Agenda view: ignoring everything that is DONE
Date: Mon, 10 Oct 2011 10:54:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Chris Wallace <address@hidden> writes:

> On 10/10/11 14:52, Jason Dunsmore wrote:
>> Chris Wallace<address@hidden>  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 via email to

[Prev in Thread] Current Thread [Next in Thread]