From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sabuj Pattanayek Newsgroups: gmane.emacs.bugs Subject: bug with curly brace matching in perl mode Date: Thu, 17 Oct 2002 03:13:13 -0500 (CDT) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1034990587 6381 80.91.224.249 (19 Oct 2002 01:23:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 01:23:07 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182iKX-0001eR-00 for ; Sat, 19 Oct 2002 03:23:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182iKo-0001T1-00; Fri, 18 Oct 2002 21:23:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182iJz-0001Ep-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 21:22:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182iJy-0001EY-00 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 21:22:31 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182bZf-0005PU-02 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2002 14:10:15 -0400 Original-Received: from gemini.tntech.edu ([149.149.11.7]) by gnudist.gnu.org with esmtp (Exim 4.10) id 1825o7-0004Au-00 for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2002 04:15:04 -0400 Original-Received: from tntech.edu by tntech.edu (PMDF V6.1-1 #39267) id <01KNR8VW404W000CA8@tntech.edu> for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2002 03:13:13 -0500 (CDT) Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3712 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3712 Emacs Version: 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy if you type something like this in perl mode (.pl file loaded): sub foo { my ($bar) = @_; ${$bar}--; } Emacs does not match the } immediately after $bar with the { immediately before $bar, but rather with the { after foo. But if you type sub foo { my ($bar) = @_; $ {$bar}--; } ..that is put a space between the $ and { the next } matches just fine. I know this is just picky, just wondering if you guys could do something about this, thanks.