emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Agenda file for the "following X days"


From: Michael Markert
Subject: Re: [O] Agenda file for the "following X days"
Date: Tue, 07 Jun 2011 14:00:30 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.3 Mule/6.0 (HANACHIRUSATO)

On 7 Jun 2011, Detlef Steuer wrote:

> On Mon, 6 Jun 2011 23:10:12 -0500
> Ugur Ozdemir <address@hidden> wrote:
>
>> Hi,
>>
>> As a novice I was wondering if there is an easy way of creating an
>> agenda file for a certain number of days starting from today. I know
>> I can do some custom agenda commands if I do some study but I guess I
>> am trying to free ride here.
>>
>
> And you get it, of course!
>
> (setq org-agenda-ndays 35)
>
> Where 35 is my number of days I like to look ahead.

Building on this, you can define a function like that:

(defun my-org-agenda ()
  (interactive)
  (let ((org-agenda-ndays 35))
    (org-agenda)))

Michael

Attachment: pgptGaCj67i3N.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]