From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antano Solar John Subject: Automatic scanning of folder structure and generating links Date: Mon, 01 Sep 2008 12:18:08 +0530 Message-ID: <86r684l5uf.fsf@gmail.com> 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 1Ka3D5-0006SD-1S for emacs-orgmode@gnu.org; Mon, 01 Sep 2008 02:48:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka3D2-0006PW-Tc for emacs-orgmode@gnu.org; Mon, 01 Sep 2008 02:48:22 -0400 Received: from [199.232.76.173] (port=51800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka3D2-0006PB-Ns for emacs-orgmode@gnu.org; Mon, 01 Sep 2008 02:48:20 -0400 Received: from ti-out-0910.google.com ([209.85.142.187]:42897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ka3D1-0004jU-TB for emacs-orgmode@gnu.org; Mon, 01 Sep 2008 02:48:20 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1025420tia.10 for ; Sun, 31 Aug 2008 23:48:17 -0700 (PDT) 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: org-mode Org-Mode Hi, I am curious if it is possible to have org scan a directory and reflect its structure as links within a org file. For example: If I have a directory like Documents/References Documents/Material Documents/Material/Course Details Documents/Material/Projects I would like to add a hook to org mode that will call some function that will modify a section I have marked within the org file to scan Documents to look like the following * [[file:~/Documents/References/][References]] * [[file:~/Documents/Material/][Material]] ** [[file:~/Documents/Material/Course Details][Material]] ** [[file:~/Documents/Material/Projects][Material]] I know I can use dired mode. But I have a feeling this in org mode will make it more accessible. Thanks in advance -- Antano Solar John Consultant & Trainer (Web 2.0,Networks,VOIP)