From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Patch to perl-mode (intentation problem) Date: Mon, 03 Jan 2005 15:46:53 -0500 Message-ID: References: <200501031834.j03IYW61018691@il06exr06.mot.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104785310 15117 80.91.229.6 (3 Jan 2005 20:48:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2005 20:48:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 03 21:48:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClZ7j-0006gg-00 for ; Mon, 03 Jan 2005 21:48:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClZIu-0007WT-5k for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2005 15:59:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClZIg-0007VV-Pk for emacs-devel@gnu.org; Mon, 03 Jan 2005 15:59:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClZIe-0007U5-1y for emacs-devel@gnu.org; Mon, 03 Jan 2005 15:59:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClZId-0007U2-T5 for emacs-devel@gnu.org; Mon, 03 Jan 2005 15:59:35 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ClZ76-0000l7-F2 for emacs-devel@gnu.org; Mon, 03 Jan 2005 15:47:40 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 3DED28282AB; Mon, 3 Jan 2005 15:47:40 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id C5CAD4AC299; Mon, 3 Jan 2005 15:46:53 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 9FE098CA69; Mon, 3 Jan 2005 15:46:53 -0500 (EST) Original-To: Juan-Leon Lahoz Garcia In-Reply-To: <200501031834.j03IYW61018691@il06exr06.mot.com> (Juan-Leon Lahoz Garcia's message of "Mon, 3 Jan 2005 12:34:32 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (: erreur de temporisation) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31764 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31764 > It seems like perl mode has a small bug when indenting. It does: > if ($foo) { > aaa::aaa(); > bbb::bbb(); > } > instead of > if ($foo) { > aaa::aaa(); > bbb::bbb(); > } > perl-mode thinks that aaa::aaa() is a label (only when the X::Y > contruct is right after a opening brace) Thank you. It should be fixed now, Stefan