unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lasse Halberg Haarbye <lahh@netcompany.com>
Cc: "40224@debbugs.gnu.org" <40224@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	[thread overview]
Message-ID: <87imici5ed.fsf@mail.linkov.net> (raw)
In-Reply-To: <AM7P194MB0898C1DD7B046229D396FE73A0C20@AM7P194MB0898.EURP194.PROD.OUTLOOK.COM> (Lasse Halberg Haarbye's message of "Mon, 6 Apr 2020 11:55:15 +0000")

> 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	other threads:[~2020-04-06 23:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 15:24 bug#40224: 26.3; highlight-symbol-at-point does not cover entire buffer Lasse Halberg Haarbye via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-03-25 16:11 ` Eli Zaretskii
2020-03-25 20:19 ` Juri Linkov
2020-04-06 11:55   ` Lasse Halberg Haarbye via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-04-06 23:53     ` Juri Linkov [this message]
2020-04-11 23:50       ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imici5ed.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=40224@debbugs.gnu.org \
    --cc=lahh@netcompany.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).