From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#40224: 26.3; highlight-symbol-at-point does not cover entire buffer Date: Tue, 07 Apr 2020 02:53:06 +0300 Organization: LINKOV.NET Message-ID: <87imici5ed.fsf@mail.linkov.net> References: <87sghwmeck.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11687"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: "40224@debbugs.gnu.org" <40224@debbugs.gnu.org> To: Lasse Halberg Haarbye Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 07 01:56:26 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLbbL-0002wb-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Apr 2020 01:56:23 +0200 Original-Received: from localhost ([::1]:39216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLbbK-0002dh-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Apr 2020 19:56:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55005) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLbb3-0002Oh-B1 for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2020 19:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLbb1-0006tF-IW for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2020 19:56:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLbb0-0006sc-9F for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2020 19:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jLbb0-00085z-7n for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2020 19:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Apr 2020 23:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40224 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 40224-submit@debbugs.gnu.org id=B40224.158621732530985 (code B ref 40224); Mon, 06 Apr 2020 23:56:02 +0000 Original-Received: (at 40224) by debbugs.gnu.org; 6 Apr 2020 23:55:25 +0000 Original-Received: from localhost ([127.0.0.1]:49375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLbaP-00083h-Ez for submit@debbugs.gnu.org; Mon, 06 Apr 2020 19:55:25 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLbaN-00083D-1l for 40224@debbugs.gnu.org; Mon, 06 Apr 2020 19:55:23 -0400 X-Originating-IP: 91.129.99.85 Original-Received: from mail.gandi.net (m91-129-99-85.cust.tele2.ee [91.129.99.85]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id BFDCE1BF203; Mon, 6 Apr 2020 23:55:15 +0000 (UTC) In-Reply-To: (Lasse Halberg Haarbye's message of "Mon, 6 Apr 2020 11:55:15 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178109 Archived-At: > 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