GNU bug report logs -
#53771
29.0.50; highlight-regexp not working after tabulated-list-col-sort
Previous Next
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Fri, 4 Feb 2022 06:30:02 UTC
Severity: normal
Tags: notabug
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 53771 <at> debbugs.gnu.org (full text, mbox):
Jean Louis <bugs <at> gnu.support> writes:
> 1) M-x package-list-packages
>
> 2) M-x highlight-regexp RET parens RET and word "parens" will get
> highlighted
>
> 3) Click on "Archive" title and sort the list by Archive column
>
> 4) M-x highlight-regexp RET parens RET and the word "parens" is not
> highlighted. I would like to understand why. hi-lock mode remains
> turned on.
As the doc string says:
---
Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type. The Font Lock mode
is considered "enabled" in a buffer if its ‘major-mode’
causes ‘font-lock-specified-p’ to return non-nil, which means
the major mode specifies support for Font Lock.
---
So in these modes, changing the text won't update the overlays, and
re-sorting them will remove the overlays altogether. So I don't think
there's any bug here, and I'm therefore closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.