Public bug reported:

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)

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1405625

Title:
  Wrong indentation in multi-ressources with array

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1405625/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to