From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@adboyd.com (J. David Boyd) Subject: Re: How to let Org Agenda search all files in a directory *recursively* ? Date: Thu, 27 Jun 2013 09:20:31 -0400 Message-ID: References: <20130627075135.GA4761@stardiviner> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsCCD-0005k2-RN for emacs-orgmode@gnu.org; Thu, 27 Jun 2013 09:25:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsCC9-00006b-81 for emacs-orgmode@gnu.org; Thu, 27 Jun 2013 09:25:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:37100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsCC8-0008S2-Vg for emacs-orgmode@gnu.org; Thu, 27 Jun 2013 09:25:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UsCC7-0002kN-L2 for emacs-orgmode@gnu.org; Thu, 27 Jun 2013 15:25:03 +0200 Received: from 169.15.137.27 ([169.15.137.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jun 2013 15:25:03 +0200 Received: from david by 169.15.137.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jun 2013 15:25:03 +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 chris writes: > I want to set up Org-mode variable "org-agenda-files". > > How to Let [C-c a] to search over all files in a directory *recursively* ? It's in the doc help for org-agenda-files: The files to be used for agenda display. Entries may be added to this list with M-x org-agenda-file-to-front and removed with M-x org-remove-file. You can also use customize to edit the list. 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. If the value of the variable is not a list but a single file name, then the list of agenda files is actually stored and maintained in that file, one agenda file per line. In this file paths can be given relative to `org-directory'. Tilde expansion and environment variable substitution are also made. So just set it to be a directory, as I do. Dave