From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: A Babel block to #+INCLUDE all .org files of a directory Date: Sat, 30 Aug 2014 11:14:09 -0500 Message-ID: References: <84oav2ht93.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNlI3-0002IJ-CD for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 12:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNlI2-00020Q-Bg for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 12:14:11 -0400 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:59948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNlI2-00020M-6N for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 12:14:10 -0400 Received: by mail-oi0-f42.google.com with SMTP id v63so2429488oia.15 for ; Sat, 30 Aug 2014 09:14:09 -0700 (PDT) In-Reply-To: <84oav2ht93.fsf@gmail.com> 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: Andrea Rossetti Cc: "emacs-orgmode@gnu.org" , mehul.sanghvi@gmail.com May you please discuss your use case that motivated this code? Grant Rettke | ACM, ASA, FSF gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson On Sat, Aug 30, 2014 at 10:50 AM, Andrea Rossetti wrote: > Hi Org users, > > I wrote a Babel block to generate the #+INCLUDE statements > for all Org files of a directory. > > Nothing spectacular: not recursive through directories, > only .org files ... but I wanted to share it, just in case > someone finds it helpful. Source code and usage example > are available here: > > https://github.com/thesoftwarebin/the-emacs-software-bin/tree/master/incl= ude-all-org-files > > (GitHub renders Org files as html, so be sure to click the "Raw" button > in order to see #+BEGIN_SRC, #+END_SRC and #+COMMENTS) > > Opinions, corrections and enhancements are of course > more than welcome. Kindest regards, > > Andrea > >