emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Burtzlaff <andy13@gmx.net>
To: emacs-orgmode@gnu.org
Subject: combine orgmode and file system browsing
Date: Sat, 21 Mar 2009 04:11:13 +0100	[thread overview]
Message-ID: <20090321041113.686f8bba.andy13@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1292 bytes --]

Hello everyone,

while using orgmode to organize data that is strongly bound to files
and directories, I came to the point where in addition to linking from
the orgfile to the target file/directory I longed to have it the other
way round, i.e. getting information about the files/directories
from the orgfile while browsing the filesystem. That led to the
following idea:

Orgmodes folding and linking capabilities are easily combined to
make rudimentary but comfortable file system browsing:

* [[file:test/dirA][dirA]]
** [[file:test/dirA/subdirA][subdirA]]
*** [[file:test/dirA/subdirA/some_file][some_file]]
** [[file:test/dirA/another_file][another_file]]
* [[file:test/dirB][dirB]]

Attached is a bash-script that generates this representation from a
given subtree of the filesystem as a proof of concept.

For each file/directory displayed search for any link to it in a
given orgfile and
   - provide links back to these occurrences
  and/or
   - display the tags and associated content (read-only).

The obvious weakness inherited from linking itself is synchronization on directory
structure changes. A possible solution would be to store ids as
hidden files for each directory or even for each file that is referred to.

Does anybody else see the benefits of such a mode?

Andreas

[-- Attachment #2: filesystem_to_org.sh --]
[-- Type: application/x-shellscript, Size: 488 bytes --]

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

             reply	other threads:[~2009-03-21  1:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21  3:11 Andreas Burtzlaff [this message]
2009-03-21  2:20 ` combine orgmode and file system browsing Sebastian Rose
2009-03-21  5:12   ` Andreas Burtzlaff
2009-03-23 11:59     ` Sebastian Rose
2009-03-28 23:54       ` [ANN] org-fstree: insert directory subtrees into org buffers Andreas Burtzlaff
2009-03-29  1:30         ` Cameron Horsburgh
2009-03-29  1:57         ` Sebastian Rose
2009-03-29 12:41           ` [ANN] org-fstree 0.2 Andreas Burtzlaff
2009-03-29 17:10             ` Sebastian Rose
2009-03-30  6:39               ` Carsten Dominik
2009-03-31  9:48                 ` Alan E. Davis
2009-04-01  1:12                   ` Andreas Burtzlaff
2009-04-01  4:22                     ` Carsten Dominik
2009-04-01 23:50                       ` Andreas Burtzlaff
2009-04-03  9:45                         ` Carsten Dominik
2009-04-04  3:01                           ` Andreas Burtzlaff
2009-04-04  3:04                             ` Carsten Dominik
2009-06-10 19:14         ` [ANN] org-fstree: insert directory subtrees into org buffers Lindsay Todd
2009-06-12  3:56           ` [ANN] org-fstree: insert directory subtrees into org buffers / UPDATE Andreas Burtzlaff
2009-06-18 22:35             ` Lindsay Todd
2009-06-19 12:39               ` Andreas Burtzlaff

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=20090321041113.686f8bba.andy13@gmx.net \
    --to=andy13@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /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).