GNU bug report logs -
#3889
23.1.50; [PATCH] Increase blink-matching-paren-distance
Previous Next
Reported by: Ian Eure <ian <at> digg.com>
Date: Mon, 20 Jul 2009 20:55:04 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3889 in the body.
You can then email your comments to 3889 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Mon, 20 Jul 2009 20:55:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ian Eure <ian <at> digg.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 20 Jul 2009 20:55:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
A user came into #emacs today complaining that his paren matching was
not working with a large file, and that font-locking broke as a result.
I found that this is controlled by blink-matching-paren-distance,
which was increased to 25kb around 1997.
Attached is a patch which doubles this to 50kb, as this should be fine
for modern machines. I think that we should seriously consider setting
the default to nil, but this seems like a more conservative approach
to the matter.
[blink-matching-paren.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Tue, 21 Jul 2009 09:50:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
martin rudalics <rudalics <at> gmx.at>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 21 Jul 2009 09:50:08 GMT)
Full text and
rfc822 format available.
Message #10 received at 3889 <at> emacsbugs.donarmstrong.com (full text, mbox):
> A user came into #emacs today complaining that his paren matching was
> not working with a large file, and that font-locking broke as a result.
>
> I found that this is controlled by blink-matching-paren-distance, which
> was increased to 25kb around 1997.
How can `blink-matching-paren-distance' affect font-locking? If I
understand correctly all `blink-matching-open' can do is slow down
typing.
martin
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Tue, 21 Jul 2009 16:25:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ian Eure <ian <at> digg.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 21 Jul 2009 16:25:06 GMT)
Full text and
rfc822 format available.
Message #15 received at 3889 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Jul 21, 2009, at 2:39 AM, martin rudalics wrote:
> > A user came into #emacs today complaining that his paren matching
> was
> > not working with a large file, and that font-locking broke as a
> result.
> >
> > I found that this is controlled by blink-matching-paren-distance,
> which
> > was increased to 25kb around 1997.
>
> How can `blink-matching-paren-distance' affect font-locking? If I
> understand correctly all `blink-matching-open' can do is slow down
> typing.
>
I don't know, as I couldn't reproduce that aspect of the issue.
Perhaps their `show-paren-style' was set to 'expression.
The paren matching definitely breaks, though. You get a message saying
that you have mismatched parens, and they're highlighted incorrectly.
- Ian
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Tue, 21 Jul 2009 16:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 21 Jul 2009 16:30:03 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
> Attached is a patch which doubles this to 50kb, as this should be fine for
> modern machines.
100kB should be fine, indeed.
> I think that we should seriously consider setting the default to nil,
> but this seems like a more conservative approach to the matter.
Maybe when you're browsing a 200MB log file, you'll find it painful, so
a lower limit would still seem to make sense. 100kB is probably very
conservative (even when running on my poor cell-phone, it should be fast
enough).
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Tue, 21 Jul 2009 16:30:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 21 Jul 2009 16:30:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3889
; Package
emacs
.
(Tue, 21 Jul 2009 17:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
martin rudalics <rudalics <at> gmx.at>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 21 Jul 2009 17:30:03 GMT)
Full text and
rfc822 format available.
Message #30 received at 3889 <at> emacsbugs.donarmstrong.com (full text, mbox):
> I don't know, as I couldn't reproduce that aspect of the issue. Perhaps
> their `show-paren-style' was set to 'expression.
Could you try to get back to them? Font-locking should never be
affected by this.
> The paren matching definitely breaks, though. You get a message saying
> that you have mismatched parens, and they're highlighted incorrectly.
That's normal.
martin
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 22 Jul 2009 02:40:05 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ian Eure <ian <at> digg.com>
:
bug acknowledged by developer.
(Wed, 22 Jul 2009 02:40:05 GMT)
Full text and
rfc822 format available.
Message #35 received at 3889-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Stefan Monnier wrote:
>> Attached is a patch which doubles this to 50kb, as this should be fine for
>> modern machines.
>
> 100kB should be fine, indeed.
So increased.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 19 Aug 2009 14:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 309 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.