From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5122: Mismatched parentheses when dealing with huge buffercontent Date: Sun, 06 Dec 2009 19:52:32 +0200 Message-ID: <833a3oj8gv.fsf@gnu.org> References: <87ocmdw33d.fsf@stupidchicken.com> <838wdhjdpj.fsf@gnu.org> <87d42trs02.fsf@stupidchicken.com> <83638kkau1.fsf@gnu.org> <878wdgw25e.fsf@stupidchicken.com> Reply-To: Eli Zaretskii , 5122@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260122870 12187 80.91.229.12 (6 Dec 2009 18:07:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 18:07:50 +0000 (UTC) Cc: 5122@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 19:07:43 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHLWG-0007qb-RH for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 19:07:41 +0100 Original-Received: from localhost ([127.0.0.1]:45069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHLWG-0003Mn-Hd for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 13:07:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHLWB-0003L2-9p for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 13:07:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHLW6-0003Gy-Uy for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 13:07:35 -0500 Original-Received: from [199.232.76.173] (port=55718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHLW6-0003Gj-HC for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 13:07:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52597) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NHLW5-0003RU-LW for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 13:07:30 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB6I7P0L025019; Sun, 6 Dec 2009 10:07:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB6I04ev023313; Sun, 6 Dec 2009 10:00:04 -0800 Resent-Date: Sun, 6 Dec 2009 10:00:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 06 Dec 2009 18:00:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5122 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5122-submit@emacsbugs.donarmstrong.com id=B5122.126012212022973 (code B ref 5122); Sun, 06 Dec 2009 18:00:04 +0000 Original-Received: (at 5122) by emacsbugs.donarmstrong.com; 6 Dec 2009 17:55:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout20.012.net.il (mtaout20.012.net.il [80.179.55.166]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB6HtHIJ022812 for <5122@emacsbugs.donarmstrong.com>; Sun, 6 Dec 2009 09:55:19 -0800 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KU800100RQ3IO00@a-mtaout20.012.net.il> for 5122@emacsbugs.donarmstrong.com; Sun, 06 Dec 2009 19:54:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.213.252]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KU800M2ESEXVI70@a-mtaout20.012.net.il>; Sun, 06 Dec 2009 19:54:34 +0200 (IST) In-reply-to: <878wdgw25e.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 06 Dec 2009 13:07:34 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33319 Archived-At: > From: Chong Yidong > Cc: 5122@emacsbugs.donarmstrong.com > Date: Sun, 06 Dec 2009 10:30:37 -0500 > > Eli Zaretskii 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 blink-matching-paren-distance. > 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.