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

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

Re: Regex Problem => "overlapping words"


From: Stefan Monnier
Subject: Re: Regex Problem => "overlapping words"
Date: Sun, 04 Dec 2005 10:50:31 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> Take a look at the place where font-lock-defaults is set.
>> Then look at the docstring of font-lock-defaults.
>> Then locate the SYNTAX-ALIST element and set it so that the character ?-
>> has syntax "w".

>     Thanks Stefan: Below are the two elisp forms that contain the symbol
>     'font-lock-defaults:
>      (make-local-variable 'font-lock-defaults)
>      (setq font-lock-defaults '(rebol-font-lock-keywords nil nil))

>      ;; there does not appear to be a docstring and there is no
>      ;; symbol syntax-alist (or SYNTAX-ALIST) in the mode file

I must say I don't understand your message.
It seems you managed the first step (finding the place where
font-lock-defaults is set).  Have you managed to do the second step (look
at the docstring of font-lock-defaults)?  What about the third?
     

        Stefan


reply via email to

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