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

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

Re: Derived Mode 101 HOWTO


From: Stefan Monnier
Subject: Re: Derived Mode 101 HOWTO
Date: Sat, 11 Mar 2006 12:15:12 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> However syntax highlighting for 'newlisp-font-lock-keywords fails.
>> 
>> In what way, exactly.
>> If you look at one of the keywords you're trying to highlight (like
>> "array"), what does it look like?  What does M-x list-text-properties-at say
>> about the `face' property on those keywords?

>  It is not colorized.

>  list-text-properties-at returns:
>  "Text property at 2235:  fontified  t"

>  Would expect something like:
>  "Text properties at 2235:

>  face                 font-lock-keyword-face
>  fontified            t
>  "

What is the value of `font-lock-keywords' in that buffer?
 
>  Now I have another error message from XEmacs:
>  """
>  Range must be t or a character: "+-*/.<>=!?$%_&~^:"
>  """

Please do (setq debug-on-error t) and then reproduce the problem.
You'll hopefully get a backtrace that will give us more info.


        Stefan


reply via email to

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