[Top][All Lists]

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

Re: Font-Locking for Allout Mode

From: Stephen Berman
Subject: Re: Font-Locking for Allout Mode
Date: Thu, 08 Mar 2007 14:23:33 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

On Wed, 07 Mar 2007 21:07:24 +0100 Tassilo Horn <address@hidden> wrote:

> I'm a new user of allout-mode and I really like it. The only thing that
> has to be improved is the readability of the headings. I would like to
> use font locking to adjust the faces like the AUCTeX sectioning faces.
> On EmacsWiki [1] I found some snippets for doing that, although the
> first one seems to be outline-mode specific. So I adapted it for allout
> mode and came up with this:
> But it seems to have no effect.

It works for me.  However, I found that I have to add `mode: allout'
to the Local Variables section in order for the fontification to be
seen upon visiting the file.  If allout-mode isn't specified as a file
local variable, then calling font-lock-fontify-buffer makes the
fontification show up.  I don't know if this indicates a bug in that

Steve Berman

reply via email to

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