Subject: bug#40224: 26.3; highlight-symbol-at-point does not cover entire buffer

From: Juri Linkov <[email-masked]>
Date: Tue, 07 Apr 2020 02:53:06 +0300

> That did the trick.  It was already quite high (20k) so I guess it
> refers to the number of characters and not lines.

Yes, it refers to the number of characters.

I propose to bump the default value from 200KB to 2MB:

diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 9173b66b7f..b4c758ebf4 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -102,7 +102,7 @@ hi-lock-file-patterns-range
   :type 'integer
   :group 'hi-lock)
 
-(defcustom hi-lock-highlight-range 200000
+(defcustom hi-lock-highlight-range 2000000
   "Size of area highlighted by hi-lock when font-lock not active.
 Font-lock is not active in buffers that do their own highlighting,
 such as the buffer created by `list-colors-display'.  In those buffers