emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Excluding DONE todo items from the agenda
@ 2010-12-03 10:27 Robert Pluim
  2010-12-03 10:40 ` Robert Pluim
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robert Pluim @ 2010-12-03 10:27 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

is there a way to not show TODO items that are DONE in the agenda view
('C-aa') by default? It seems I have them showing up because they have a
deadline, but when they're done, that doesn't matter anymore :)

Thanks

Robert

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Excluding DONE todo items from the agenda
  2010-12-03 10:27 Excluding DONE todo items from the agenda Robert Pluim
@ 2010-12-03 10:40 ` Robert Pluim
  2010-12-03 10:45   ` [Accepted] " Carsten Dominik
  2010-12-03 11:06 ` Robert Pluim
  2010-12-04  1:45 ` Memnon Anon
  2 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2010-12-03 10:40 UTC (permalink / raw)
  To: emacs-orgmode

Robert Pluim <rpluim@gmail.com> writes:

> Hi,
>
> is there a way to not show TODO items that are DONE in the agenda view
> ('C-aa') by default? It seems I have them showing up because they have a
> deadline, but when they're done, that doesn't matter anymore :)

Whilst investigating this, I noticed the following, which I suspect
counts as obvious enough that I won't have to sign anything :)

2010-12-03  Robert Pluim  <rpluim@gmail.com>

	* org-agenda.el (org-agenda-toggle-deadlines): Fix docstring

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 48856c9..c63fa98 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6314,7 +6314,7 @@ When called with a prefix argument, include all archive files as well."
 	   (if org-agenda-include-diary "on" "off")))
 
 (defun org-agenda-toggle-deadlines ()
-  "Toggle diary inclusion in an agenda buffer."
+  "Toggle inclusion of entries with a deadline in an agenda buffer."
   (interactive)
   (org-agenda-check-type t 'agenda)
   (setq org-agenda-include-deadlines (not org-agenda-include-deadlines))

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Accepted] Re: Excluding DONE todo items from the agenda
  2010-12-03 10:40 ` Robert Pluim
@ 2010-12-03 10:45   ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2010-12-03 10:45 UTC (permalink / raw)
  To: emacs-orgmode

Patch 433 (http://patchwork.newartisans.com/patch/433/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3Cpknzksncf5y.fsf%40acmepacket.com%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [Orgmode] Re: Excluding DONE todo items from the agenda
> Date: Fri, 03 Dec 2010 15:40:57 -0000
> From: Robert Pluim <rpluim@gmail.com>
> X-Patchwork-Id: 433
> Message-Id: <pknzksncf5y.fsf@acmepacket.com>
> To: emacs-orgmode@gnu.org
> 
> Robert Pluim <rpluim@gmail.com> writes:
> 
> > Hi,
> >
> > is there a way to not show TODO items that are DONE in the agenda view
> > ('C-aa') by default? It seems I have them showing up because they have a
> > deadline, but when they're done, that doesn't matter anymore :)
> 
> Whilst investigating this, I noticed the following, which I suspect
> counts as obvious enough that I won't have to sign anything :)
> 
> 2010-12-03  Robert Pluim  <rpluim@gmail.com>
> 
> 	* org-agenda.el (org-agenda-toggle-deadlines): Fix docstring
> 
> 
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index 48856c9..c63fa98 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -6314,7 +6314,7 @@ When called with a prefix argument, include all archive files as well."
>  	   (if org-agenda-include-diary "on" "off")))
>  
>  (defun org-agenda-toggle-deadlines ()
> -  "Toggle diary inclusion in an agenda buffer."
> +  "Toggle inclusion of entries with a deadline in an agenda buffer."
>    (interactive)
>    (org-agenda-check-type t 'agenda)
>    (setq org-agenda-include-deadlines (not org-agenda-include-deadlines))
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Excluding DONE todo items from the agenda
  2010-12-03 10:27 Excluding DONE todo items from the agenda Robert Pluim
  2010-12-03 10:40 ` Robert Pluim
@ 2010-12-03 11:06 ` Robert Pluim
  2010-12-04  1:45 ` Memnon Anon
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2010-12-03 11:06 UTC (permalink / raw)
  To: emacs-orgmode

Robert Pluim <rpluim@gmail.com> writes:

> Hi,
>
> is there a way to not show TODO items that are DONE in the agenda view
> ('C-aa') by default? It seems I have them showing up because they have a
> deadline, but when they're done, that doesn't matter anymore :)

And I've now found:
    org-agenda-skip-deadline-if-done
which works perfectly.

It must be time for lunch, I didn't see that in my apropos search.

Regards

Robert

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Excluding DONE todo items from the agenda
  2010-12-03 10:27 Excluding DONE todo items from the agenda Robert Pluim
  2010-12-03 10:40 ` Robert Pluim
  2010-12-03 11:06 ` Robert Pluim
@ 2010-12-04  1:45 ` Memnon Anon
  2 siblings, 0 replies; 5+ messages in thread
From: Memnon Anon @ 2010-12-04  1:45 UTC (permalink / raw)
  To: emacs-orgmode

Hi Robert, 

Robert Pluim <rpluim@gmail.com> writes:

> is there a way to not show TODO items that are DONE in the agenda view
> ('C-aa') by default? It seems I have them showing up because they have a
> deadline, but when they're done, that doesn't matter anymore :)

,----
|  org-agenda-skip-deadline-if-done t
|  org-agenda-skip-scheduled-if-done t
`----

Does this help?

- Memnon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-04  1:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-03 10:27 Excluding DONE todo items from the agenda Robert Pluim
2010-12-03 10:40 ` Robert Pluim
2010-12-03 10:45   ` [Accepted] " Carsten Dominik
2010-12-03 11:06 ` Robert Pluim
2010-12-04  1:45 ` Memnon Anon

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).