emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: include file contents in org files?


From: Rainer Stengele
Subject: [Orgmode] Re: include file contents in org files?
Date: Wed, 22 Aug 2007 12:54:28 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Rainer Stengele schrieb:
Carsten Dominik schrieb:

...

While I maybe can see the use of having an #include mechanism,
I don't see why you'd want to *see* the included stuff.
It is just as easy to look at the include file itself, and if it is
the same for every file you use, you'd have it memorized soon enough.

- Carsten

Well - thinking hard about it I have to agree it's not really necessary to see the contents of the file.

Seeing it at the beginning of any org file was just quite convenient when I started using org-mode and was still modifying my used TAG set etc.

Agreed, a simple "standard" include mechanism would do it very well!

Rainer

Taking the idea a little "around the corner" I wonder if it would be possible to hide everything that begins with a "#" before the first heading. Application: I have my org files under subversion control and carry around this line at the beginning of my files:


# SVN $Revision: 385 $  $Date: 2007-08-21 23:50:43 +0200 (Di, 21 Aug 2007) $

I would like to hide that and similar lines unless showing all with "C-c C-a". Also a possible "#include" line could be hidden. If somebody wants to see the lines - of course - a config option would do it.

Rainer





reply via email to

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