From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.bugs Subject: Possible old perl-mode hash indentation bug. Date: Tue, 20 Jul 2004 22:10:39 -0500 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87iscikqc0.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090379522 22596 80.91.224.253 (21 Jul 2004 03:12:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2004 03:12:02 +0000 (UTC) Cc: 47675-forwarded@bugs.debian.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 05:11:54 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bn7WM-00024d-00 for ; Wed, 21 Jul 2004 05:11:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bn7Z7-0007Hl-EH for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2004 23:14:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bn7Z5-0007HT-E5 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 23:14:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bn7Z3-0007HB-Sk for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 23:14:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bn7Z3-0007H1-R4 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 23:14:41 -0400 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bn7WD-0008Ho-6Z for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 23:11:45 -0400 Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by defaultvalue.org (Postfix) with ESMTP id 7984740BB; Tue, 20 Jul 2004 22:11:42 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id DBC0F410AC; Tue, 20 Jul 2004 22:10:39 -0500 (CDT) Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8458 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8458 This bug, presuming it is a bug, has been around since at least Emacs version 20.3. Given a hash like this one when in perl-mode: %LCDkmaps = ( 'i386' => { 'qwerty' => { 'US' => { 'Standard' => 'us', 'With latin1' => 'us-latin1', }, 'UK' => 'uk', }, }, 'sparc' => { 'T5' => { Emacs will over-indent the 'UK' line if you leave out the comma after 'us-latin1'. (Although Emacs won't over-indent if you leave out the comma after the 'qwerty' block'.) Presuming I didn't make any mistakes, this appears to be repeatable in the current version of Emacs 21, and in CVS as of Sunday. (If you can, please maintain the cc to the bug tracker in any followup messages. Thanks) -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4