HomePhorge

(PUP-2237) Improve puppet-mode indentation, XEmacs compatibility
13f1e0da9191Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2237) Improve puppet-mode indentation, XEmacs compatibility

Handle a closing brace followed by a comma, which is the end of a
selector inside a resource. Keep indentation at the same level in
that case.

Correctly indent the line following an array ending with :, which
is an array of resource names at the start of a resource definition.

Restore proper indentation following a line with a closing paren
and opening brace.

Properly highlight the resource name when setting defaults for that
resource.

Also clean up some places where \( or \) was used in a string to
represent a literal paren. The backslash is extraneous here and is
ignored, so omit it.

Fix compatibility with XEmacs.

Details

Provenance
Russ Allbery <eagle@eyrie.org>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU679973c5df84: Merge branch 'stable'
Branches
Unknown
Tags
Unknown

Event Timeline

Russ Allbery <eagle@eyrie.org> committed rPU13f1e0da9191: (PUP-2237) Improve puppet-mode indentation, XEmacs compatibility (authored by Russ Allbery <eagle@eyrie.org>).Apr 14 2014, 3:20 AM