[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33744: effect of ada-indent-hanging-rel-exp
From: |
Stephen Leake |
Subject: |
bug#33744: effect of ada-indent-hanging-rel-exp |
Date: |
Fri, 21 Dec 2018 15:14:23 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) |
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