GNU bug report logs -
#13718
prevent hl-line from overriding highlight-mode
Previous Next
Full log
View this message in rfc822 format
Okay I realize this is very hackish solution, but I went ahead and
replaced every instance of font-lock-fontified with nil so that Emacs
will just use overlays for highlights at all times, which "fixed" the
problem that I have.
But a more general solution would be one of the following:
- Force highlight-regexp (and similar ones) to use overlays at all
times: I don't know why it uses two different methods to do the same
thing, but I suspect it may be for the sake of efficiency perhaps? Or
to prevent highlights from trampling over the syntax highlighting?
Perhaps this could be made into a customizable option?
- Use font-lock for hl-line: maybe this is isn't possible because
font-lock doesn't provide the functionality to do so?
Or maybe there's a better solution out there -- I don't know.
Thanks,
Fei
This bug report was last modified 1 year and 155 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.