Am 25.05.2013 12:59, schrieb Stephen Leake:
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.
Thanks for confirming.
PS: Would using Ada mode 5 help in any way?
Not now, but I will consider adding support for this indentation style.
That would be nice, thank you.
Do you also want all caps? Currently Ada mode 5.0 only supports
Mixed_Case (or no auto-case).
Oh, seems I didn't pay enough attention when you asked which features should
be supported in the new Ada mode.
Yes, we still use Ada 83 style, so all caps support would be great.
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 :).
Thank you very much for your work on this.
Markus
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org