emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: emacs-orgmode@gnu.org
Subject: use the org-mode for scheme batch files
Date: Thu, 07 Jun 2007 14:15:03 +0000	[thread overview]
Message-ID: <f48sfe$l1p$1@sea.gmane.org> (raw)

Hi,

I would like to use org-mode's ability for outlining and syntax
highlighting for some scheme batch files.
The file looks like this:


	;------------------------------------------------------------------------------------------------------------
	; Gitter !
	/file/read-case 9A1.024.1Z.msh
	
	;------------------------------------------------------------------------------------------------------------
	; Gitter Skalierung
	; m -> mm
	/grid/scale 0.001 0.001 0.001

	;------------------------------------------------------------------------------------------------------------

	; Randbedingungen
	blabla


I would like to achive outlining for the lines with certain key
words like
	; Gitter !
	; Gitter Skalierung
	; Randbedingungen

First, I tried an 'easy' workaround: I wanted to create outlining
for every line starting with ';' :
  (setq outline-regexp "\\; +")

Then, the outlining works well, but the org-mode top-level
syntax-highlighting
has to be adjusted too;
I suppose I have to change:
           '("^\\(\\**\\)\\(\\*\\)\\(.*\\)" (4 (org-get-level-face 1))
But I can not understand that...

I would be nice, if anybody has an idea, how I can get those lines
(especially those keyword lines) outlined with org-mode in the
background; with org-mode in the background I have much additional
possibility to adjust ...

Regards!
Fabian

             reply	other threads:[~2007-06-07 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 14:15 Fabian Braennstroem [this message]
2007-06-15  5:48 ` use the org-mode for scheme batch files Carsten Dominik
2007-06-17 12:36   ` Fabian Braennstroem

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='f48sfe$l1p$1@sea.gmane.org' \
    --to=f.braennstroem@gmx.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).