From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Mon, 30 Mar 2015 16:30:35 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycai9-0008Ld-QG for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 10:30:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycai5-0007y4-KX for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 10:30:41 -0400 Received: from mout.web.de ([212.227.17.12]:61481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycai5-0007xa-BJ for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 10:30:37 -0400 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: emacs orgmode-mailinglist
Hi,
 
how can I set up an agenda view in org-mode which does NOT show old entries which contain scheduled or deadline dates older than 3 months?
 
I did not find an option for that - maybe I've overlooked it?
 
Kind regards
 
Martin
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Mon, 30 Mar 2015 16:45:14 +0200 Message-ID: <861tk6fssl.fsf@example.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org "Martin Beck" wrote: > how can I set up an agenda view in org-mode which does NOT show old > entries which contain scheduled or deadline dates older than 3 months? > I did not find an option for that - maybe I've overlooked it? Something like (untested): (tags-todo "DEADLINE>\"<-3m>\") Best regards, Seb -- Sebastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Mon, 30 Mar 2015 11:02:25 -0400 Message-ID: <87oana34vy.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcbDD-00008q-GH for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:02:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcbD6-000237-Vj for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:02:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:51988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcbD6-00022x-PP for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:02:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YcbD2-0000DN-Nr for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 17:02:36 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 17:02:36 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 17:02:36 +0200 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: emacs-orgmode@gnu.org [Not sure why, but quoting the OP's message did not work - I had to do it by hand - I wonder if the problem is with the message or my setup: if someone could verify, I'd appreciate it.] "Martin Beck" writes: > how can I set up an agenda view in org-mode which does NOT show old > entries which contain scheduled or deadline dates older than 3 months? C-h v org-agenda-todo-ignore-timestamp RET C-h v org-agenda-todo-ignore-scheduled RET C-h v org-agenda-todo-ignore-deadlines RET This variable can also have an integer as a value. If positive (N), todos with a timestamp N or more days in the future will be ignored. If negative (-N), todos with a timestamp N or more days in the past will be ignored. If 0, todos with a timestamp either today or in the future will be ignored. For example, a value of -1 will exclude todos with a timestamp in the past (yesterday or earlier), while a value of 7 will exclude todos with a timestamp a week or more in the future. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elwood151@web.de Subject: Re: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Mon, 30 Mar 2015 17:49:02 +0200 Message-ID: References: , <87oana34vy.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycbw4-00005Q-K8 for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:49:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycbvz-000157-QB for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:49:08 -0400 Received: from mout.web.de ([212.227.17.11]:54166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycbvz-00014o-GK for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 11:49:03 -0400 In-Reply-To: <87oana34vy.fsf@alphaville.usersys.redhat.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org
 
Hi Nick,
 
thanks a lot for your help! That looks great, however I don't get it to work:
 
lightweight example agenda (shows also scheduled items which are >500 days old!):
 
("y1" "test" agenda "" ((org-agenda-todo-ignore-scheduled -30)))
 
What am I doing wrong?
I'm still on org-mode 8.2.7c, is this the problem?
 
Kind regards
 
Martin
Gesendet: Montag, 30. März 2015 um 17:02 Uhr
Von: "Nick Dokos" <ndokos@gmail.com>
An: emacs-orgmode@gnu.org
Betreff: Re: [O] How to create agenda which ignores headings with deadline/scheduled dates older than 3 months
[Not sure why, but quoting the OP's message did not work - I had to do
it by hand - I wonder if the problem is with the message or my setup:
if someone could verify, I'd appreciate it.]

"Martin Beck" <Elwood151@web.de> writes:

> how can I set up an agenda view in org-mode which does NOT show old
> entries which contain scheduled or deadline dates older than 3 months?

C-h v org-agenda-todo-ignore-timestamp RET
C-h v org-agenda-todo-ignore-scheduled RET
C-h v org-agenda-todo-ignore-deadlines RET

<quote>
This variable can also have an integer as a value. If positive (N),
todos with a timestamp N or more days in the future will be ignored. If
negative (-N), todos with a timestamp N or more days in the past will be
ignored. If 0, todos with a timestamp either today or in the future will
be ignored. For example, a value of -1 will exclude todos with a
timestamp in the past (yesterday or earlier), while a value of 7 will
exclude todos with a timestamp a week or more in the future.
</quote>

Nick

 
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Mon, 30 Mar 2015 13:24:30 -0400 Message-ID: <87iodi760h.fsf@alphaville.usersys.redhat.com> References: <87oana34vy.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcdRQ-0001If-Vw for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 13:25:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcdRL-0002wL-TT for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 13:25:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:35574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcdRL-0002vi-Bc for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 13:25:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YcdRI-0007bC-2n for emacs-orgmode@gnu.org; Mon, 30 Mar 2015 19:25:28 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 19:25:28 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2015 19:25:28 +0200 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: emacs-orgmode@gnu.org Elwood151@web.de writes: > thanks a lot for your help! That looks great, however I don't get it to work: > > lightweight example agenda (shows also scheduled items which are >500 days old!): > > ("y1" "test" agenda "" ((org-agenda-todo-ignore-scheduled -30))) > > What am I doing wrong? > I'm still on org-mode 8.2.7c, is this the problem? > I don't think so: it seems that setting it globally DTRT for the global todo list (C-c a t). I'm not sure what it does (if anything) when you set it locally in a custom agenda, but in limited testing it certainly does not seem to do what you want. Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: rene Subject: Re: How to create agenda which ignores headings with deadline/scheduled dates older than 3 months Date: Thu, 28 May 2015 08:08:57 +0000 (UTC) Message-ID: References: <87oana34vy.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxssS-0000si-Ot for emacs-orgmode@gnu.org; Thu, 28 May 2015 04:09:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxssK-0007kQ-9p for emacs-orgmode@gnu.org; Thu, 28 May 2015 04:09:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:41460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxssK-0007kA-2X for emacs-orgmode@gnu.org; Thu, 28 May 2015 04:09:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YxssD-0008Ke-E5 for emacs-orgmode@gnu.org; Thu, 28 May 2015 10:09:09 +0200 Received: from proxy-master.esisar.grenoble-inp.fr ([195.220.37.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 May 2015 10:09:05 +0200 Received: from jlr_0 by proxy-master.esisar.grenoble-inp.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 May 2015 10:09:05 +0200 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: emacs-orgmode@gnu.org Nick Dokos gmail.com> writes: > [Not sure why, but quoting the OP's message did not work - I had to do > it by hand - I wonder if the problem is with the message or my setup: > if someone could verify, I'd appreciate it.] > > "Martin Beck" web.de> writes: > > > how can I set up an agenda view in org-mode which does NOT show old > > entries which contain scheduled or deadline dates older than 3 months? > > C-h v org-agenda-todo-ignore-timestamp RET > C-h v org-agenda-todo-ignore-scheduled RET > C-h v org-agenda-todo-ignore-deadlines RET How can you show entries that has a deadline date but no scheduled date? If it bears a scheduled date then I don't want to show that entry.