From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Braennstroem Subject: use the org-mode for scheme batch files Date: Thu, 07 Jun 2007 14:15:03 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HwGnM-0007TA-HP for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 08:08:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HwGnK-0007Su-6H for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 08:08:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwGnK-0007Sr-0b for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 08:08:50 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HwGnJ-0002xW-HE for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 08:08:49 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HwGn2-00050Y-4A for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 14:08:32 +0200 Received: from pd9e4be5d.dip0.t-ipconnect.de ([217.228.190.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jun 2007 14:08:32 +0200 Received: from f.braennstroem by pd9e4be5d.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jun 2007 14:08:32 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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