emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [ANN] org-fstree: insert directory subtrees into org buffe


From: Sebastian Rose
Subject: Re: [Orgmode] [ANN] org-fstree: insert directory subtrees into org buffers
Date: Sun, 29 Mar 2009 03:57:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Andreas Burtzlaff <address@hidden> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]