GNU bug report logs - #40224
26.3; highlight-symbol-at-point does not cover entire buffer

Previous Next

Package: emacs;

Reported by: Lasse Halberg Haarbye <lahh <at> netcompany.com>

Date: Wed, 25 Mar 2020 16:04:01 UTC

Severity: normal

Tags: fixed, moreinfo

Found in version 26.3

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Lasse Halberg Haarbye <lahh <at> netcompany.com>
Cc: "40224 <at> debbugs.gnu.org" <40224 <at> debbugs.gnu.org>
Subject: bug#40224: 26.3; highlight-symbol-at-point does not cover entire buffer
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




This bug report was last modified 5 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.