From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Auto-load files into agenda list Date: Sun, 04 Apr 2010 18:21:39 -0400 Message-ID: <87mxxix3ik.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NyYBl-0006DB-J8 for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 18:21:05 -0400 Received: from [140.186.70.92] (port=43606 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NyYBj-0006D3-Cu for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 18:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NyYBh-00008k-U6 for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 18:21:03 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:41302) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyYBh-00008M-R2 for emacs-orgmode@gnu.org; Sun, 04 Apr 2010 18:21:01 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Sun, 4 Apr 2010 15:35:00 -0600") 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: Marcelo de Moraes Serpa Cc: Org Mode Marcelo de Moraes Serpa writes: > Hello list, > > I keep a diary by using journal.el -- it simply creates a new .org file > everytime I call M-x journal with the current Date timestamp ( > date_day_of_week.org). Works fine. I usually create a * tags headline > and tag it with relevant tags. The downside is that, in order to have > all the agenda power, I need to manually add it to the list. Not sure > if there is a way to include a whole directory automatically somehow? >From the docstring for org-agenda-files: ,---- | If an entry is a directory, all files in that directory that are matched | by `org-agenda-file-regexp' will be part of the file list. `---- In other words, (setq org-agenda-files "~/org/") See also the following FAQ: http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards > Some of you might say to keep the journal in one big file. I just don't > like it. Separate files make things more maneageble for me. Calling org-agenda loads each one of your agenda files into a separate buffer. That means 3 years from now emacs will have to open 1,000 files and spawn 1,000 buffers to generate the agenda view. :) Best, Matt