Something like this code was recently posted on StackOverflow, and indents as 
shown. 5.1.7 (from monotone, just now).

procedure Nested_If_Else is
begin
   if 1 > 2 then
      null;
   else if 2 > 3 then
      null;
   else if 3 > 4 then
      null;
   else
      null;
   end if;
   end if;
   end if;
end Nested_If_Else;

I see that if I put a newline after the ‘else’s then all is OK; perhaps it’s 
right for ada-mode to penalize such horrid style!
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to