[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5122: Mismatched parentheses when dealing with huge buffercontent

From: Eli Zaretskii
Subject: bug#5122: Mismatched parentheses when dealing with huge buffercontent
Date: Sun, 06 Dec 2009 19:52:32 +0200

> From: Chong Yidong <address@hidden>
> Cc: address@hidden
> Date: Sun, 06 Dec 2009 10:30:37 -0500
> Eli Zaretskii <address@hidden> writes:
> >> 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?

Sorry, I don't understand the question.  What is the "no mismatched
parenthesis" case?

To clarify, my suggestion was to display

  Mismatched parenthesis

if the search hits point-min or point-max without finding a match, or

  Mismatched parenthesis (within blink-matching-paren-distance)

if the search doesn't find a match within

> 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.

But we don't know that, unless we searched all the way to the
beginning or end of the buffer.  All we know is that we didn't find a
match within the distance searched.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]