GNU bug report logs -
#41185
highlight-regexp not working properly for multiline-matching regexps
Previous Next
Full log
Message #24 received at 41185 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
To reinforce Michael Heerdegen's point, now it seems to be failing on
trivial single-line strings too:
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)
Turn off highlighting (M-s h u) then back on again (M-s h r silly ret)
and both are now highlighted (see silly_both_highlited.PNG), showing
incremental highlighting is indeed failing.
regards
jan
On 13/06/2021, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
>
>> I think you must read the original report further, where there is a text
>> example with "endif" for that highlighting fails. AFAICT the complaint
>> is about multi-line matches not being highlighted.
>>
>> I think `highlight-regexp' is not able to highlight multiline
>> stuff, but the docstring doesn't tell anything about this.
>
> It is being highlit, but not reliably, I see. If you paste the test
> cases in, they are highlit, but not if you type them in (or paste them
> in in steps)...
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
[silly_twice_only_one_got_highlighted.PNG (image/png, attachment)]
[silly_both_highlited.PNG (image/png, attachment)]
This bug report was last modified 3 years and 342 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.