[Top][All Lists]

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

Re: [O] Recursive org-agenda-files

From: Matthew Sauer
Subject: Re: [O] Recursive org-agenda-files
Date: Tue, 4 Oct 2011 21:33:09 -0500

My understanding is that you want a file that gets moved into the
active directory to be automatically included in the agenda?
>From worg:
You can simply include the directory (as one of the items) in the
value of the variable org-agenda-files:

(setq org-agenda-files '("/my/special/path/org/active/"))
There is another way of accomplishing the same end:

(setq org-agenda-files (file-expand-wildcards

The other files/directories could be in the extended text search if
needed but not part of the automatic agenda.  Just my two cents.  Not
that playing with agenda hooks might have some advantages.

Matt Sauer
On Tue, Oct 4, 2011 at 9:12 AM, Nick Dokos <address@hidden> wrote:
> Neilen Marais <address@hidden> wrote:
>> Jambunatha,
>> > > Have you considered adding it to say org-mode-hook?
>> >
>> > Seems like a Wrong suggestion to me.
>> >
>> > Try using `C-c [' to add the current org file. I am assuming that org
>> > files are created by hand and not by some daemon that spits out agenda
>> > files when you are away from emacs.
>> Not a daemon, no, but I do tend to move files around. I.e. I'll move a 
>> project
>> file/dir from my "someday" folder to my "active" folder. I would like to 
>> avoid
>> any further manual steps to get it integrated in my agenda.
>> Is there a hook function that gets called every time an agenda view is 
>> opened or
>> refreshed? I could probably use that to update the agenda list.
> Seek and ye shall find:
> C-h v org-agenda--hook RET
> will list all the matching hooks. Which one to choose? I'll leave that up
> to the interested reader :-) Or try
> C-h v org--hook RET
> to get a list of *all* the org hooks.
> Nick

reply via email to

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