From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: emacs-orgmode@gnu.org
Cc: mehul.sanghvi@gmail.com
Subject: A Babel block to #+INCLUDE all .org files of a directory
Date: Sat, 30 Aug 2014 17:50:00 +0200 [thread overview]
Message-ID: <84oav2ht93.fsf@gmail.com> (raw)
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/include-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
next reply other threads:[~2014-08-30 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-30 15:50 Andrea Rossetti [this message]
2014-08-30 16:14 ` A Babel block to #+INCLUDE all .org files of a directory Grant Rettke
2014-08-30 20:39 ` Andrea Rossetti
2014-08-30 21:31 ` Andrea Rossetti
2014-09-01 21:09 ` Andrea Rossetti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84oav2ht93.fsf@gmail.com \
--to=andrea.rossetti@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mehul.sanghvi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.