help-gnu-emacs
[Top][All Lists]
Advanced

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

outline adjust font and regexp


From: Fabian Braennstroem
Subject: outline adjust font and regexp
Date: Mon, 02 Jul 2007 21:16:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.0

Hi,

I would like to create an regexp for outline some comments in a
lisp-mode file (actually it is a batch file using lisp syntax).

The structure of the file looks like:

        ; Case
        xxx

        ; Mesh
        xxx

        ; Boundary Conditions
        ;; Inlet
        xxx
        ; some comment

        ;; Outlet
        xxx

I would like to achive an outlining with the top levels:
; Case
; Mesh
; Boundary Conditions

and the second levels:
;; Inlet
;; Outlet

which should work without those comments with something like:
    (setq outline-regexp ";\\*+")

unfortunately those comments make a problem. In addition to that, I
would like to adjust the font for the first and second levels; onto
of the lisp-syntax highlichting. I am thinking about a different
larger font.

It would be nice, if anyone can give me some advice or good links!
Would be nice!

Regards!
Fabian


reply via email to

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