[Top][All Lists]

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

Re: [h-e-w] Re: font lock for text mode

From: Galen Boyer
Subject: Re: [h-e-w] Re: font lock for text mode
Date: 11 Jan 2002 21:16:03 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

On 11 Jan 2002, address@hidden wrote:

> I've found in the past that log file formats are best dealt by
> defining new a mode using define-generic-mode. generic-mode
> takes care of all the fine details of font-lock setup, and
> having a separate mode means you can switch easily between
> different formats if necessary.

Excellent!  I will remember this when I need it.


> Another thing I do sometimes with log files is customize
> outline-regexp so I can hide all the lines I'm not interested
> in (this is a bit of a misuse of outline-minor-mode, but it
> works for me).

I think this sounds very clever.
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.

reply via email to

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