Subject: bug#6465: Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face))

From: Chong Yidong <[email-masked]>
Date: Sat, 27 Nov 2010 14:46:31 -0500

Dan Nicolaescu <[email-masked]> writes:

>>> When using C-x v v to check something in, there's a lot of messages
>>> like this in the *Messages* buffer:
>>>
>>> Error during redisplay: (error No match 4 in highlight (4
>>> font-lock-warning-face)) [3 times]
>>>
>>> Probably the cause is this change to `log-edit-font-lock-keywords':
>>>
>>> 2010-04-21  Stefan Monnier  <monnier <at> iro.umontreal.ca>
>>>
>>>             Make the log-edit comments use RFC822 format throughout.
>>
>> Is this still happening to you?
>
> I can see it on the emacs-23 branch.

The final "\\|\\(.*\\)" in log-edit-font-lock-keywords looks bogus (it
was also the reason for the loop in Bug#6343).  Since Stefan hasn't
commented on this issue yet, I went ahead and removed that part of the
regexp.