[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] use the org-mode for scheme batch files
From: |
Fabian Braennstroem |
Subject: |
[Orgmode] use the org-mode for scheme batch files |
Date: |
Thu, 07 Jun 2007 14:15:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
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
- [Orgmode] use the org-mode for scheme batch files,
Fabian Braennstroem <=