From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: [ANN] org-fstree: insert directory subtrees into org buffers Date: Sun, 29 Mar 2009 03:57:36 +0200 Message-ID: <87ab756qgf.fsf@kassiopeya.MSHEIMNETZ> References: <20090321041113.686f8bba.andy13@gmx.net> <878wmz4nwq.fsf@kassiopeya.MSHEIMNETZ> <20090321061235.f08ba725.andy13@gmx.net> <87ab7cxw3j.fsf@kassiopeya.MSHEIMNETZ> <20090329005415.014ca2c3.andy13@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnkEJ-0004TJ-Cw for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:54:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnkEC-0004Jy-Dw for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:54:28 -0400 Received: from [199.232.76.173] (port=43628 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnkEB-0004JA-Pp for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:54:23 -0400 Received: from mail.gmx.net ([213.165.64.20]:36130) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LnkEB-0001PV-6m for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 21:54:23 -0400 In-Reply-To: <20090329005415.014ca2c3.andy13@gmx.net> (Andreas Burtzlaff's message of "Sun, 29 Mar 2009 00:54:15 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Burtzlaff Cc: emacs-orgmode@gnu.org Andreas Burtzlaff 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: " into an org buffer, > where 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