Wrong indentation in multi-ressources with array

Bug #1405625 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet (Ubuntu)
New
Low
Unassigned

Bug Description

Hi,

the emacs mode generates wrong indentation if a ressource looks like this:

augeas{
        '/etc/default/keyboard':
          incl => '/etc/default/keyboard' ,
          lens => 'shellvars.lns',
          changes => [
                      'set XKBMODEL pc105',
                      'set XKBLAYOUT de',
                      'set XKBVARIANT nodeadkeys',
                      'set XKBOPTIONS ctrl:nocaps',] ;

           '/etc/default/console-setup':
                   incl => '/etc/default/console-setup' ,
...

The auto indentation after ]; is wrong, because the emacs lisp program is prepared to understand ], but not ];

The semicolon must be put on a line on its own, which looks ugly.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: puppet-el 3.4.3-1
ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
Uname: Linux 3.13.0-43-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Dec 25 14:16:06 2014
Dependencies: emacsen-common 2.0.7
InstallationDate: Installed on 2014-08-06 (140 days ago)
InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
PackageArchitecture: all
SourcePackage: puppet
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Mathew Hodson (mhodson)
Changed in puppet (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.