From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neilen Marais Subject: Re: Recursive org-agenda-files Date: Tue, 4 Oct 2011 12:42:59 +0000 (UTC) Message-ID: References: <81vcs5jjoh.fsf@gmail.com> <81lit1jiol.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB4L5-0000Zd-RI for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 08:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB4L5-0006Uu-0T for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 08:43:15 -0400 Received: from lo.gmane.org ([80.91.229.12]:55459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB4L4-0006Ua-Rd for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 08:43:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RB4L2-0007C5-6b for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 14:43:12 +0200 Received: from 196.24.41.254 ([196.24.41.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 14:43:12 +0200 Received: from nmarais by 196.24.41.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 14:43:12 +0200 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: emacs-orgmode@gnu.org 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. Thanks Neilen