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

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

bug#41185: highlight-regexp not working properly for multiline-matching


From: jan
Subject: bug#41185: highlight-regexp not working properly for multiline-matching regexps
Date: Wed, 16 Jun 2021 06:20:57 +0100

Ach, no, you're right. Tried it in C-mode, was ok.

I think Elil pointed this out in my original bug report about a year
ago and I forgot.

My mistake

jan

On 16/06/2021, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> jan <rtm443x@googlemail.com> writes:
>
>> start emacs with -Q, open a new buffer, say 'asdf'
>
>> type in 'silly'
>>
>> Highlight it; M-s h r silly ret
>>
>> existing silly gets highligted.
>>
>> Press return a couple of times then type in 'silly' again, does not
>> highlight (see silly_twice_only_one_got_highlighted.PNG)
>
> Highlighting is not updated if overlays need to be used because the
> buffer does not use font-lock-mode (see the docstring of
> `highlight-regexp').
>
> Were you aware of that fact, or does your experiment fail even for
> "supported" buffers?
>
>
> Regards,
>
> Michael.
>





reply via email to

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