From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: Re: parentheses matching failure on valid sexp Date: Tue, 11 Sep 2007 07:59:52 +0200 Message-ID: <87zlzt2147.fsf@gmx.de> References: <86fy1lojua.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1189490373 32015 80.91.229.12 (11 Sep 2007 05:59:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 05:59:33 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 15:59:17 2007 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 1IV6Go-00041w-QI for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 15:59:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUymW-0007zX-Lm for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 01:59:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUymT-0007xj-Si for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 01:59:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUymS-0007xL-CZ for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 01:59:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUymS-0007xI-72 for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 01:59:24 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IUymR-0004wW-LI for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 01:59:23 -0400 Original-Received: (qmail invoked by alias); 11 Sep 2007 05:59:22 -0000 Original-Received: from p54864BAA.dip.t-dialin.net (EHLO debian) [84.134.75.170] by mail.gmx.net (mp046) with SMTP; 11 Sep 2007 07:59:22 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/lVqgBYcnlovPkYxliGSXmLpkljSZrsPryYl9W3C 8kfb6L5yxhVaOP In-Reply-To: <86fy1lojua.fsf@macs.hw.ac.uk> (Joe Wells's message of "Tue\, 11 Sep 2007 06\:24\:29 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:16533 Archived-At: Joe Wells writes: > To reproduce this bug: > > 1. Save the attached file as foobar.el. > 2. Run “emacs -Q foobar.el”. > 3. Delete the trailing right parenthesis on line 435. > 4. Type a right parenthesis. > > The correct behavior would be to match the leading left parenthesis on > line 1. The actual buggy behavior is that the message “Mismatched > parentheses” is given. > > This bug is sensitive to the size of the input. If you delete much of > the input, then the bug goes away. This is documented behavior, see the variable blink-matching-paren-distance: ,---- | blink-matching-paren-distance is a variable defined in `simple.el'. | Its value is 25600 | | | Documentation: | *If non-nil, maximum distance to search backwards for matching open-paren. | If nil, search stops at the beginning of the accessible portion of the buffer. | | You can customize this variable. `----