From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Newman Subject: Re: Handling org-file agenda dependenncies? Date: Fri, 27 Mar 2009 21:46:55 +0000 Message-ID: <20090327214655.56888aaf@newmanfamily.me.uk> References: <938fae2d0903261731p5bbc84e5v12f63e136f868474@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnJtF-00086B-Hk for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 17:47:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnJtD-00085r-KZ for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 17:47:01 -0400 Received: from [199.232.76.173] (port=56087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnJtD-00085o-F6 for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 17:46:59 -0400 Received: from smtp3.enta.net ([87.127.246.178]:54993) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LnJtC-00067U-UG for emacs-orgmode@gnu.org; Fri, 27 Mar 2009 17:46:59 -0400 Received: from localhost.localdomain (unknown [84.45.232.14]) by smtp3.enta.net (Postfix) with ESMTP id 5A88CB58112 for ; Fri, 27 Mar 2009 21:46:56 +0000 (GMT) In-Reply-To: <938fae2d0903261731p5bbc84e5v12f63e136f868474@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org When you use the standard commands to add/removes files from the agenda, it will write a definition for the variable org-agenda-files to the custom section of your .emacs file. If you want to deal with trees of files, you might be better off removing the variable from the custom section, defining it yourself and updating it manually. I would find it useful to be able to switch to an "*Org Agenda Files Buffer*", edit this and save it to update - but I don't suppose anyone would think it worth the effort of coding. As an interesting aside - if in Dired I rename a file that I am currently visiting, the buffer's name will be changed automatically. However, org-agenda-files will not be updated in this case. On Fri, 27 Mar 2009 01:31:19 +0100 Eraldo Helal wrote: > I have projects with non-text files. > Many of them having sub-,subsub-projects etc. (nested) > Therefore I made directories for them using the project > name. / name>//etc > Each having it's own <(sub-)project name>.org file in it. > > My question: > > How can I add|remove a whole project from the agenda? > > e.g. If I remove project1.org file from the agenda... > /project1/subprojectX.org would still be in there! > > Or is there a way to assign and then set a group of org.files to > inactive(=remove from agenda)? > > Any other suggestions|methods for solving this problem?