From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5122: Mismatched parentheses when dealing with huge buffercontent Date: Sat, 5 Dec 2009 01:35:09 +0100 Message-ID: <7b501d5c0912041635r7f71535ap3e8c36995930777e@mail.gmail.com> References: <7b501d5c0912040731h5838dc37n539bec334f071f1a@mail.gmail.com> <7b501d5c0912041627g6bf70d0dwc2f4ae3902b32c02@mail.gmail.com> <56B6897376CF4A16A9134E0AB7719F32@us.oracle.com> Reply-To: Deniz Dogan , 5122@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1259993700 4865 80.91.229.12 (5 Dec 2009 06:15:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 06:15:00 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 5122@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 07:14:53 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 1NGnuu-0007g9-LC for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 07:14:52 +0100 Original-Received: from localhost ([127.0.0.1]:60819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGnut-00079H-JQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 01:14:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGioA-0007Gf-S7 for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 19:47:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGio5-0007CK-LK for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 19:47:33 -0500 Original-Received: from [199.232.76.173] (port=38813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGio5-0007Bs-BK for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 19:47:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47553) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGio4-0007Jk-Mw for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 19:47:29 -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 nB50lOaE013533; Fri, 4 Dec 2009 16:47:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB50e728012958; Fri, 4 Dec 2009 16:40:07 -0800 Resent-Date: Fri, 4 Dec 2009 16:40:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Deniz Dogan Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 00:40:06 +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 submit@emacsbugs.donarmstrong.com id=B.125997333312762 (code B ref -1); Sat, 05 Dec 2009 00:40:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Dec 2009 00:35:33 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB50ZVd9012754 for ; Fri, 4 Dec 2009 16:35:32 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:41910 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NGicU-0000oD-Ut for emacs-pretest-bug@gnu.org; Fri, 04 Dec 2009 19:35:30 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NGicU-0006gC-CH for emacs-pretest-bug@gnu.org; Fri, 04 Dec 2009 19:35:30 -0500 Original-Received: from mail-ew0-f215.google.com ([209.85.219.215]:48804) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGicU-0006g8-1o for emacs-pretest-bug@gnu.org; Fri, 04 Dec 2009 19:35:30 -0500 Original-Received: by ewy7 with SMTP id 7so2672598ewy.32 for ; Fri, 04 Dec 2009 16:35:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=zaXRBZmxJjydlxi6oVaEAuQ04xcLXC4zqlRE5SZw3vI=; b=R3sJd1bW8bHeaA9It69ddHFglAO/5Jo4PTWWAnsQt3/mDPMFpkPpBfK+5eIeR05gJ3 OvYWT1VpZf6OSLngDdKt1+J1eEQs2s5rEhfIVkSxe6U4J0pqYy7x0rgxVCA9C//NcCj+ 8ZTEeL940Rf5fZHNsE6dLTpuPCMm8CJRjJn+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=VhPzl3txdybz51Am3M5LgfZH2ckuGMkorU8gSuu9V9rQEG2vwsgrjkofbwyQhY/48n BYa1m/AP1jW1tI/ocVXNT6G7mq3nOjtHJZZnUk8kcU+nYvzmDp/CeyyNQRz/cpeHKNaS hDGhqogJBIsgd6hdV+XfG8iUpsAx2QuiWAqlE= Original-Received: by 10.213.98.144 with SMTP id q16mr3831511ebn.29.1259973329120; Fri, 04 Dec 2009 16:35:29 -0800 (PST) In-Reply-To: <56B6897376CF4A16A9134E0AB7719F32@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 04 Dec 2009 19:47:33 -0500 X-Mailman-Approved-At: Sat, 05 Dec 2009 01:14:44 -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:33237 gmane.emacs.pretest.bugs:25281 Archived-At: 2009/12/5 Drew Adams : >> > See option `blink-matching-paren-distance' and node >> > Matching in the Emacs manual. >> > Does increasing that variable's value resolve the problem? >> >> Yes, it does solve the problem. > > 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? > > I'm not sure what the best solution would be, but it is indeed strange that Emacs says that there was a parenthesis *mismatch*. Maybe it would be better to say something along the lines of "Emacs was unable to find a matching parenthesis in the previous X characters", but obviously much more terse.