cfengine-parameters-indent
cfengine-parameters-indent is a variable defined in `
cfengine.el
'.
Its value is
(promise pname 0)
Documentation:
Indentation of CFEngine3 promise parameters (hanging indent).
For example, say you have this code:
bundle x y
{
section:
class::
promise ...
promiseparameter => ...
}
You can choose to indent promiseparameter from the beginning of
the line (absolutely) or from the word "promise" (relatively).
You can also choose to indent the start of the word
"promiseparameter" or the arrow that follows it.
Finally, you can choose the amount of the indent.
The default is to anchor at promise, indent parameter name, and offset 0:
bundle agent rcfiles
{
files:
any::
"/tmp/netrc"
comment => "my netrc",
perms => mog("600", "tzz", "tzz");
}
Here we anchor at beginning of line, indent arrow, and offset 10:
bundle agent rcfiles
{
files:
any::
"/tmp/netrc"
comment => "my netrc",
perms => mog("600", "tzz", "tzz");
}
Some, including cfengine_stdlib.cf, like to anchor at promise, indent
arrow, and offset 16 or so:
bundle agent rcfiles
{
files:
any::
"/tmp/netrc"
comment => "my netrc",
perms => mog("600", "tzz", "tzz");
}
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.4 of Emacs.