Hello,
is it possible to configure the current Ada mode (4.01) to support the
following indentation scheme:
FOOBAR.PROC (
ARG1 => VAL1,
ARG2 => VAL2
);
instead of the usual:
FOOBAR.PROC
(ARG1 => VAL1,
ARG2 => VAL2);
?
Ideally, both styles should be possible at the same time: when hitting the
return key after '(' it indents by the value of ada-indent, when hitting the
return key before '(' it indents by the value of ada-broken-indent.
I browsed through the available customization options, but I'm not even able
to make only the first style work.
What I could achieve by setting ada-indent-to-open-paren to nil is this:
FOOBAR.PROC (
ARG1 => VAL1,
ARG2 => VAL2
);
But this seems to indent the arguments by the value of ada-broken-indent
instead of ada-indent, and the position of the closing ')' is not as desired.
TIA for any ideas.
Markus
PS: Would using Ada mode 5 help in any way?
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org