bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juri Linkov
Subject: bug#40224: 26.3; highlight-symbol-at-point does not cover entire buffer
Date: Tue, 07 Apr 2020 02:53:06 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]