bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Possible old perl-mode hash indentation bug.


From: Rob Browning
Subject: Possible old perl-mode hash indentation bug.
Date: Tue, 20 Jul 2004 22:10:39 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]