Ada mode 5.1.4 does:

function Func_1
  (A : in Integer)
  return Integer
is begin
   return 0;
end Func_1;

GPS 6.0.2 does:

function Func_1
  (A : in Integer)
   return Integer
is begin
   return 0;
end Func_1;

Ada mode can match this with (setq ada-indent-return -1)

We could change the default for ada-indent-return to match GPS, or let
projects that want to match GPS set this.

Comments?

-- 
-- Stephe

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

Reply via email to