Am 12.08.2014 um 21:19 schrieb Stephen Leake <[email protected]>:

> We could introduce a new option ada-indent-aggregate-select (or similar
> name) to control this.

For a new option. The option could cover more cases of similar indentation,
such as aligning a list of variable names in a declaration. With 
ada-indent-broken
applying to every occurrence of text broken across lines, it'll be all or 
nothing.
By default, now, I get

   function F (Foo : Bar) return Baz
   is 
      Fordwards,
        Backwards : Sametype;
   begin
      return Nil;
   end F;

With ada-broken-intent 0, this becomes

   function F (Foo : Bar) return Baz
   is 
      Fordwards,
      Backwards : Sametype;
   begin
      return Nil;
   end F;

But every other text that is syntactically similar will then have this
same indentation (0 relative) which might not be what is wanted in each case.

Are there any coding styles that suggest separate settings for indenting
different kinds of text that are broken across lines?



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

Reply via email to