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