From: Sebastian Rose <sebastian_rose@gmx.de>
To: erwinpanen@fastmail.fm
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: dir or folder structure into org-file?
Date: Mon, 21 Sep 2009 00:44:31 +0200 [thread overview]
Message-ID: <871vm1nsmo.fsf@gmx.de> (raw)
In-Reply-To: <h9378f$pbk$1@ger.gmane.org> (Erwin Panen's message of "Sat, 19 Sep 2009 20:17:54 +0200")
Hi Erwin,
if you don't need links, you could use Eric Schultes org-babel package,
too.
Provided `tree' is installed, this here will put the tree beneath
~/.emacs.d below, and export the results only. The `-d' option tells
`tree' to show directories only.
#+begin_src sh :results output :exports results
echo "Directory structure:"
tree -d ~/.emacs.d/
#+end_src
If you now pres `C-c C-c' inside the source block, the result will be
added. Here's what it looks like on my machine (org's contrib directory
only in this case:
#+resname:
#+begin_example
Directory structure:
/home/sebastian/.emacs.d/lisp/ext/org-mode/contrib/
|-- babel
| `-- lisp
| `-- langs
|-- lisp
|-- packages
| `-- org-export-freemind-0.1.0
`-- scripts
#+end_example
Best wishes
Sebastian
Erwin Panen <erwinpanen@fastmail.fm> writes:
> Matt, thanks a lot, this is exactly what I'm looking for :-)
> I've downloaded and enabled it, but up to now I haven't really managed to use
> it...
> I'll have to digg somewhat deeper
>
> Cheers,
>
> Erwin
>
> Matt Lundin wrote:
>> Erwin Panen <erwinpanen@fastmail.fm> writes:
>>
>>> Not sure this is the right place to ask;
>>> I'm looking for a way to import a complete file structure into an
>>> org-mode buffer that will be saved to an org-mode file.
>>>
>>> I assume org or emacs must be able to do this, but I haven't found
>>> anything googling around..
>>>
>>> Thanks for your help!
>>
>> I believe org-fstree is a good option for this:
>>
>> http://burtzlaff.de/org-fstree/
>>
>> Best,
>> Matt
prev parent reply other threads:[~2009-09-20 22:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 17:41 dir or folder structure into org-file? Erwin Panen
2009-09-14 22:34 ` Matt Lundin
2009-09-19 18:17 ` Erwin Panen
2009-09-20 22:44 ` Sebastian Rose [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vm1nsmo.fsf@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=erwinpanen@fastmail.fm \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).