Markus Schöpflin <[email protected]> writes:

> is it possible to configure the current Ada mode (4.01) to support the
> following indentation scheme:
>
>    FOOBAR.PROC (
>       ARG1 => VAL1,
>       ARG2 => VAL2
>    );
>
> <snip>
>
> What I could achieve by setting ada-indent-to-open-paren to nil is this:
>
>    FOOBAR.PROC (
>      ARG1 => VAL1,
>      ARG2 => VAL2
>                );

I suspect that's the best you can do.

> PS: Would using Ada mode 5 help in any way?

Not now, but I will consider adding support for this indentation style.

Do you also want all caps? Currently Ada mode 5.0 only supports
Mixed_Case (or no auto-case).

I'm currently working on fixing bugs in OpenToken, so I can use it to
generate a generalized LALR parser table for the elisp parser, so I can
replace the SMIE operator precendence parser. The LALR parser allows the
indentation/navigation code to be much cleaner.

So once I get that working, adding features like this will be much
easier.

Stay tuned (I do realize it's been 8 months since I started Ada mode 5.0
- it's been an interesting journey :).

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to