From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Wells Newsgroups: gmane.emacs.bugs Subject: Re: parentheses matching failure on valid sexp Date: Tue, 11 Sep 2007 08:03:14 +0100 Message-ID: <86abrtof9p.fsf@macs.hw.ac.uk> References: <86fy1lojua.fsf@macs.hw.ac.uk> <87zlzt2147.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1189494391 10336 80.91.229.12 (11 Sep 2007 07:06:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 07:06:31 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 17:06:15 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 1IV7It-0000Jh-71 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 17:05:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUzoa-0006ie-Eu for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 03:05:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUzmR-0005bF-1V for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 03:03:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUzmP-0005ZU-Gm for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 03:03:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUzmP-0005ZD-4Y for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 03:03:25 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IUzmO-0005RC-Go for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 03:03:24 -0400 Original-Received: from izanami.macs.hw.ac.uk ([137.195.13.6]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUzmO-0004h6-0w for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2007 03:03:24 -0400 Original-Received: from lxultra1.macs.hw.ac.uk ([137.195.27.173]:36209 helo=127.0.0.1) by izanami.macs.hw.ac.uk with smtp (Exim 4.51) id 1IUzmF-0006Uo-1F; Tue, 11 Sep 2007 08:03:15 +0100 Original-Received: (nullmailer pid 12724 invoked by uid 1001); Tue, 11 Sep 2007 07:03:14 -0000 In-Reply-To: <87zlzt2147.fsf@gmx.de> (Sven Joachim's message of "Tue\, 11 Sep 2007 07\:59\:52 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:16535 Archived-At: Sven Joachim writes: > Joe Wells writes: > >> To reproduce this bug: >> >> 1. Save the attached file as foobar.el. >> 2. Run =E2=80=9Cemacs -Q foobar.el=E2=80=9D. >> 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 =E2=80=9CMismatch= ed >> parentheses=E2=80=9D 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-distan= ce: Thank you for pointing this out! --=20 Joe