[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error during redisplay: (error No match 3 in highlight (3 (quote (7)
Re: Error during redisplay: (error No match 3 in highlight (3 (quote (7))))
Mon, 11 May 2009 01:23:49 +0200
On Sun, May 10, 2009 at 9:25 PM, Stefan Monnier
>>> I just do not understand what the error mean. Can someone please shed
>>> some light upon it?
>> It means that a font-lock pattern referenced a subexp of a regexp that
>> does not exist or did not match, i.e. (match-beginning 3) returned nil.
> Exactly. And the (7) indicates it's probably one of the rules in
> font-lock-syntactic-keywords rather than in font-lock-keywords. i.e. it
> either means one of the rules in font-lock-syntactic-keywords is using
> the wrong group number, or it needs to be tweaked to set the
> LAXMATCH option.
Thanks, that cleared my thoughts enough. The problem was that I had
forgot to add save-match-data when I rearranged some code in
mumamo.el. (Calls to chunk dividing routines is done from the