From: Stefan Kangas <stefankangas@gmail.com>
To: Antero Mejr <antero@mailbox.org>, 68234@debbugs.gnu.org
Subject: bug#68234: [PATCH] Increase blink-matching-paren-distance by 300kb.
Date: Wed, 3 Jan 2024 20:50:41 -0800 [thread overview]
Message-ID: <CADwFkm=h0X_n0Y5K4cZcC7jF83ggfYNJofX7n=C9pDNxwYk-aw@mail.gmail.com> (raw)
In-Reply-To: <8734vejmaz.fsf@mailbox.org>
Antero Mejr via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:
> Avoids erroneous mismatched paren highlighting when highlighting large
> expressions of around 10,000 lines.
>
> This value was last increased in 2009, from 25->100kb. This patch
> increases it from 100->400.
Makes sense to me.
> From d55e8ce5d98389bc8bbe4dac97bc76bb957e791e Mon Sep 17 00:00:00 2001
> From: Antero Mejr <antero@mailbox.org>
> Date: Wed, 3 Jan 2024 18:29:43 +0000
> Subject: [PATCH] Increase blink-matching-paren-distance by 300kb.
>
> * lisp/simple.el (blink-matching-paren-distance): Increase from 100kb
> to 400kb.
> ---
> lisp/simple.el | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/simple.el b/lisp/simple.el
> index 4f6d2ee12c3..177ea640506 100644
> --- a/lisp/simple.el
> +++ b/lisp/simple.el
> @@ -9260,10 +9260,10 @@ It is also ignored if `show-paren-mode' is enabled."
> :type 'boolean
> :group 'paren-blinking)
>
> -(defcustom blink-matching-paren-distance (* 100 1024)
> +(defcustom blink-matching-paren-distance (* 400 1024)
> "If non-nil, maximum distance to search backwards for matching open-paren.
> If nil, search stops at the beginning of the accessible portion of the buffer."
> - :version "23.2" ; 25->100k
> + :version "23.2" ; 25->100k, 30->400k
This should read:
+ :version "30.1" ; 100->400k
Or even just:
+ :version "30.1"
> :type '(choice (const nil) integer)
> :group 'paren-blinking)
>
> --
> 2.43.0
next prev parent reply other threads:[~2024-01-04 4:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 18:37 bug#68234: [PATCH] Increase blink-matching-paren-distance by 300kb Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <handler.68234.B.170430710530123.ack@debbugs.gnu.org>
2024-01-03 18:48 ` Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-04 11:31 ` Eli Zaretskii
2024-01-04 23:08 ` Stefan Kangas
2024-01-05 7:49 ` Eli Zaretskii
2024-01-05 20:50 ` Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-05 21:10 ` Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-06 7:01 ` Eli Zaretskii
2024-01-06 12:09 ` Stefan Kangas
2024-01-09 5:56 ` Stefan Kangas
2024-01-04 4:50 ` Stefan Kangas [this message]
2024-01-04 19:22 ` Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-04 21:03 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-04 21:36 ` Antero Mejr via Bug reports for GNU Emacs, the Swiss army knife of text editors
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='CADwFkm=h0X_n0Y5K4cZcC7jF83ggfYNJofX7n=C9pDNxwYk-aw@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=68234@debbugs.gnu.org \
--cc=antero@mailbox.org \
/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).