From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Recursive org-agenda-files Date: Tue, 04 Oct 2011 10:12:14 -0400 Message-ID: <21575.1317737534@alphaville.dokosmarshall.org> References: <81vcs5jjoh.fsf@gmail.com> <81lit1jiol.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB5jL-0004c2-8v for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 10:12:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB5jG-0004v4-D3 for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 10:12:23 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:25490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB5jG-0004ua-7e for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 10:12:18 -0400 In-Reply-To: Message from Neilen Marais of "Tue, 04 Oct 2011 12:42:59 -0000." 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: Neilen Marais Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Neilen Marais 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