emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org files and directory hierarchies
@ 2009-01-08 15:58 Dan Davison
  2009-01-08 17:07 ` Matthew Lundin
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Davison @ 2009-01-08 15:58 UTC (permalink / raw)
  To: emacs org-mode mailing list

I was starting to wonder about the relationship between the hierarchy
defined by org files, and the file system hierarchy. This is just
thinking out loud really. In fact that might be a generous description
of a very vaguely-thought out idea.

It is obviously a very standard situation that a file exists that is
related to (a) heading(s) in (an) org files(s). And org provides the
file link for dealing with this situation. But where does one store
the file? The obvious answer is "in the relevant directory". Which
implies that in addition to manually curating the structure of your
org-files, you are also manually curating an appropriately-structured
directory hierarchy. Fair enough; that is what people do with
computers, except for those that stick everything on the desktop until
they can't find anything...

But perhaps there's an alternative, hard-line, org position? This
would say something like: My org files are real. My directory
hierarchy is merely a manifestation of my org files.

So is there any future in thinking about an org extension that would
automatically maintain a directory hierarchy, mirroring the hierarchy
of headings in certain org files?

For example, at the moment, one of my org files contains an entry
saying I have to travel somewhere. I want to keep the pdf itinerary
somewhere sensible. Here are two options that occur to me:

(i) I lamely maintain some sort of meaningful directory hierarchy,
perhaps ~/travel/year/month/, or perhaps ~/work/project/travel/, put
the file in the relevant place, and make a file link in org.

(ii) I throw all such files in a single directory, and rely on org links.

But if the structure of org is truly reflecting the structure of my
life / thoughts, then wouldn't it make sense for the structure of my
directories to be doing that too? If so, then the job of maintaining
the correspondence between org and the directory hierarchy should be
left to the computer.

This would give rise to an org which is a text-based "map" of ones
working directories, with org files providing semantics and metadata
to the directory hierarchy and its files. The directory hierarchy
could be edited by org's structure editing commands. Etc.

... or maybe not. Was there any sense in the above? Perhaps others
have already found good solutions to this. Personally I have org files
and directories relating to the same subject with some sort of vague
but messy correspondence between their structures.

Dan

-- 
http://www.stats.ox.ac.uk/~davison

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-09 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-08 15:58 org files and directory hierarchies Dan Davison
2009-01-08 17:07 ` Matthew Lundin
2009-01-08 20:40   ` David Lord
2009-01-08 21:33     ` Carsten Dominik
2009-01-09 11:04       ` David Lord

Code repositories for project(s) associated with this 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).