Subject: Re: bug#22541: 25.0.50; highlight-regexp from isearch has is case-sensitive even if case-fold is active

From: Tino Calancha <[email-masked]>
Date: Wed, 24 May 2017 22:35:41 +0900

Juri Linkov <[email-masked]> writes:

>> The new patch, in addition to fix this bug report, it also
>> helps with the 5. in bug#22520, that is:
>> emacs -Q
>> M-s hr t RET RET ; Highlight with regexp "[Tt]"
>> M-s hu t RET ; Unhighlight the buffer.
>
> Thanks, could you find more test cases that still don't work?
Yes i did.  We need to fold according with `search-upper-case' and
`case-fold-search' for `hi-lock-face-phrase-buffer' and
`hi-lock-line-face-buffer' as well.
I am posting the updated patch in a few days after after test it.