From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Stopping "done/cancelled" from showing in agenda view?
Date: Mon, 09 Jun 2014 11:57:28 -0400 [thread overview]
Message-ID: <8761ka6pp3.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 87a99m6su6.fsf@alphaville.bos.redhat.com
Nick Dokos <ndokos@gmail.com> writes:
> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> This is probably an easy one to answer, but I can't even think of
>> how to query google with it. And I can't see how to do it in the org
>> manual either!
>>
>> But, how do you stop a "done", or "cancelled" item from appearing in
>> the agenda view please? Is there some code that will auto-magically
>> do it for me please?
>>
>
> Set org-agenda-skip-scheduled-if-done to t perhaps? And similarly
> for org-agenda-skip-deadline-if-done. Not sure whether that will do
> anything for CANCELLED though.
>
Assuming that CANCELLED is a DONE state - see
(info "(org) workflow states")
for details - the above should work for CANCELLED as well. E.g.
--8<---------------cut here---------------start------------->8---
#+TODO: TODO | DONE CANCELLED
* TODO foo
SCHEDULED: <2014-06-09 Mon>
* DONE bar
SCHEDULED: <2014-06-09 Mon>
* CANCELLED baz
SCHEDULED: <2014-06-09 Mon>
--8<---------------cut here---------------end--------------->8---
then the agenda shows all three if org-agenda-skip-scheduled-if-done is
nil, but shows only `foo' if it is set to t.
As a more general question, should the default be t for all three of the
org-agenda-skip-*-if-done variables? It seems that most people prefer
that behaviour. Perhaps we have gone around this before, but I didn't
check the archives.
Nick
prev parent reply other threads:[~2014-06-09 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-09 12:44 Stopping "done/cancelled" from showing in agenda view? Sharon Kimble
2014-06-09 13:38 ` Thorsten Jolitz
2014-06-09 14:22 ` Sharon Kimble
2014-06-09 14:49 ` Nick Dokos
2014-06-09 15:57 ` Nick Dokos [this message]
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=8761ka6pp3.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).