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: Sat, 05 Dec 2009 11:27:51 +0200 Message-ID: <83ocmdkbxk.fsf@gnu.org> References: <7b501d5c0912040731h5838dc37n539bec334f071f1a@mail.gmail.com> <7b501d5c0912041627g6bf70d0dwc2f4ae3902b32c02@mail.gmail.com> <56B6897376CF4A16A9134E0AB7719F32@us.oracle.com> Reply-To: Eli Zaretskii , 5122@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260006467 28587 80.91.229.12 (5 Dec 2009 09:47:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 09:47:47 +0000 (UTC) Cc: deniz.a.m.dogan@gmail.com To: Drew Adams , 5122@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 10:47:40 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 1NGrEp-0002SE-HY for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 10:47:39 +0100 Original-Received: from localhost ([127.0.0.1]:45771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrEo-00080B-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 04:47:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGrEj-0007z6-HH for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 04:47:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGrEe-0007yH-W5 for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 04:47:32 -0500 Original-Received: from [199.232.76.173] (port=50419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGrEe-0007y4-HQ for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 04:47:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59321) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGrEd-0007u0-RU for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 04:47:28 -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 nB59lOYq030516; Sat, 5 Dec 2009 01:47:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB59Z4Zh029503; Sat, 5 Dec 2009 01:35:04 -0800 Resent-Date: Sat, 5 Dec 2009 01:35: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: Sat, 05 Dec 2009 09:35: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.126000542929389 (code B ref 5122); Sat, 05 Dec 2009 09:35:04 +0000 Original-Received: (at 5122) by emacsbugs.donarmstrong.com; 5 Dec 2009 09:30:29 +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 nB59URoQ029297 for <5122@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 01:30:28 -0800 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KU600J00A2E2400@a-mtaout20.012.net.il> for 5122@emacsbugs.donarmstrong.com; Sat, 05 Dec 2009 11:29:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.213.252]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KU600FFQADTU590@a-mtaout20.012.net.il>; Sat, 05 Dec 2009 11:29:54 +0200 (IST) In-reply-to: <56B6897376CF4A16A9134E0AB7719F32@us.oracle.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: Sat, 05 Dec 2009 04:47:32 -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:33241 Archived-At: > From: "Drew Adams" > Date: Fri, 4 Dec 2009 16:31:51 -0800 > Cc: emacs-pretest-bug@gnu.org, 5122@emacsbugs.donarmstrong.com > > It's not real obvious when you see mismatch highlighting (and are used to it > working) that the highlighting might not mean a mismatch at all, but just an > insufficiently large option value. Many (most?) users will not even guess that > there is such an option. > > Perhaps we could use a :help-echo property along with the mismatch highlight > face, pointing to the option? help-echo is not guaranteed to be seen, and could be tricky when there's an important message in the echo area (especially if the help-echo itself is displayed in the echo area). Also, it will not work on a text terminal. I think it's better to modify the echo area message, such that if Emacs hits the blink-matching-paren-distance limit (as opposed to hitting point-min), the message says something like Mismatched parentheses (within blink-matching-paren-distance)