emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@diplan.de>
To: emacs-orgmode@gnu.org
Subject: Re: include file contents in org files?
Date: Wed, 22 Aug 2007 12:54:28 +0200	[thread overview]
Message-ID: <fah4ku$igu$1@sea.gmane.org> (raw)
In-Reply-To: <fah42n$gpl$1@sea.gmane.org>

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	other threads:[~2007-08-22 10:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 21:47 include file contents in org files? Rainer Stengele
2007-08-21 23:44 ` Bastien
2007-08-22  9:10   ` Adam Spiers
2007-08-22  9:32     ` Rainer Stengele
2007-08-22  9:42       ` Carsten Dominik
2007-08-22 10:44         ` Rainer Stengele
2007-08-22 10:54           ` Rainer Stengele [this message]
2007-08-22 11:07             ` Carsten Dominik
2007-08-22 20:25               ` Rainer Stengele
2007-08-23 17:55                 ` Carsten Dominik
2007-08-23 23:32               ` Daniel J. Sinder
2007-08-24  2:57                 ` Carsten Dominik
2007-08-24 11:30                   ` Rainer Stengele
2007-08-22  1:30 ` Eddward DeVilla

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='fah4ku$igu$1@sea.gmane.org' \
    --to=rainer.stengele@diplan.de \
    --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).