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

[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: Fri, 09 Mar 2007 17:50:52 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

On Fri, 09 Mar 2007 15:27:13 +0100 Tassilo Horn <tassilo@member.fsf.org> wrote:

> Stephen Berman <Stephen.Berman@gmx.net> writes:
>
> Hi Stephen,
>
>> Our discussion convinced me that the code from the Emacs wiki wasn't
>> playing well with Emacs lisp mode, so I fiddled with it and came up
>> with a variant that works in Emacs lisp mode.  Replace your
>> th-allout-font-lock-keywords with the following:
[...]
> Yes, now it works. But I get a lot of the messages below in *Messages*:
>
> ,----
> | Invalid face reference: 2
> | Invalid face reference: 1 [9 times]
> | Invalid face reference: 2 [2 times]
> `----

I didn't notice them before, but I get them too.  The message comes
from merge_face_ref in xfaces.c, and a comment there says: "FACE_REF
ought to be a face name."  This apparently means that the face
specification I gave is flawed, although the results look ok.  But I'm
afraid I'm out of my depth here.  If we're lucky some font-lock guru
will notice this thread and help us.

Steve Berman





reply via email to

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