Subject: bug#33744: effect of ada-indent-hanging-rel-exp

From: Stephen Leake <[email-masked]>
Date: Fri, 21 Dec 2018 15:14:23 -0800

Ludovic writes:

> The value of ada-indent-hanging-rel-exp has no effect in this
> particular case.

Actually, it does. With ada-indent = 2, ada-indent-hanging-rel-exp =
nil, the indentation is:

procedure Operator_Indentation is
begin
  if B
    or else C
    > 2 -- indented relative to "or else"
  then
    null;
  end if;
end Operator_Indentation;

Changing an indentation parameter does not force a reparse, so calling
'indent-region' does not use the new parameter value. Use M-x
wisi-parse-buffer to force a reparse and reindent.

-- 
-- Stephe