From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Rossetti Subject: Re: A Babel block to #+INCLUDE all .org files of a directory Date: Sat, 30 Aug 2014 22:39:40 +0200 Message-ID: <84ha0tbtkj.fsf@gmail.com> References: <84oav2ht93.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNpR6-0005XK-Le for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 16:39:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNpR0-0005vp-Q6 for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 16:39:48 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:62832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNpR0-0005ve-Jn for emacs-orgmode@gnu.org; Sat, 30 Aug 2014 16:39:42 -0400 Received: by mail-wg0-f43.google.com with SMTP id a1so3588649wgh.26 for ; Sat, 30 Aug 2014 13:39:41 -0700 (PDT) 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: Grant Rettke Cc: "emacs-orgmode@gnu.org" Hello, Grant Rettke writes: > May you please discuss your use case that motivated this code? typical usage scenarios could be: 1) write a book of many chapters, one main.org file and many second-level .org files, one file per chapter, and you don't want to manually write all the #INCLUDEs: main.org chapter01-the-intro.org chapter02-another-day-another-story.org chapter03-bad-day-emacs-froze-again.org ... chapter47-end.org 2) write some reference manual (example: my_c_manual.org) that includes many .org files, every one of them shows usage and examples of a language keyword or library function: my_reference_manual.org abs.org ... printf.org strcpy.org Thanks to everyone for whatever feedback, kindest regards. Andrea