Andreas Burtzlaff <and...@gmx.net> writes: > Hello everyone, > > the idea is now implemented as an extension to org-mode. > > Available here: http://www.burtzlaff.de/org-fstree/org-fstree.el > > org-fstree inserts the filesystem subtree for a given directory. > Each file/directory is formatted as a headline, provides links back > to all headlines that are associated with it (by containing links to the > file) > and is assigned their tags. > > Usage: > - enter a line containing "#+BEGIN_FSTREE: <dir>" into an org buffer, > where <dir> is the directory, that is to be inserted. > - while the cursor is in the line mentioned, press "C-c C-c" > > Hope someone else than Sebastian and me finds this useful.
I find this useful! Thans for putting this in elisp. Some additions I could thing of: * a customizable list of directory names to skip. '("CVS" "_MTN" ".git" ".hg" "RCS") might be a good default. * Add directory names to the skip list #+begin fstree -sd (nogo notes) * Skip files by suffix #+begin fstree -sf (.jpg .gif ...) * Maybe require the option `-r' to be recursive. Files are often grouped in directories for a purpose. If I jott down some notes it would be great to just add files in that one directory that contains files related to the sections content. * Add a slash to the directory names to make the list more readable. As an alternative, I could imagine to use folder icons like speedbar, or use headlines without links for directories (the links all look the same, wether they are headlines or leaves). - Sebastian _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode