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