[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5122: Mismatched parentheses when dealing with hugebuffercontent
From: |
Drew Adams |
Subject: |
bug#5122: Mismatched parentheses when dealing with hugebuffercontent |
Date: |
Sun, 6 Dec 2009 09:05:57 -0800 |
> >> The circumstances in which the parenthesis are mismatched probably
> >> vastly outweigh the circumstances in which the user wants to change
> >> blink-matching-paren-distance.
> >
> > I suggested the modified message text _only_ for those
> > cases where the search hits the limit.
>
> How do you distinguish this from the plain old "no mismatched
> parenthesis" case? Like I said, if there is no matching parenthesis
> within the search limit (which, btw, has been increased in
> Emacs 22.3), in most cases the parentheses really are mismatched.
The code lets you distinguish. It simply needs to DTRT when it knows that the
arbitrary limit was reached.
Look at the code in both simple.el and paren.el. The code knows when it is using
the limit (narrowing etc.). Currently, it doesn't distinguish this case from the
case where it simply hits bob/eob, but it certainly could.
(No, I won't be sending a patch for this. If the will is there, you will see
easily enough what needs to be done.)
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Chong Yidong, 2009/12/05
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Eli Zaretskii, 2009/12/05
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Eli Zaretskii, 2009/12/05
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Chong Yidong, 2009/12/06
- bug#5122: Mismatched parentheses when dealing with hugebuffercontent,
Drew Adams <=
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Eli Zaretskii, 2009/12/06
- bug#5122: Mismatched parentheses when dealing with huge buffercontent, Chong Yidong, 2009/12/06
- bug#5122: Mismatched parentheses when dealing with hugebuffercontent, Drew Adams, 2009/12/06
bug#5122: Mismatched parentheses when dealing with huge buffercontent, Stefan Monnier, 2009/12/06
bug#5122: Mismatched parentheses when dealing with huge buffercontent, Stefan Monnier, 2009/12/05