GNU bug report logs -
#38589
26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly
Previous Next
Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Date: Fri, 13 Dec 2019 12:42:02 UTC
Severity: minor
Found in version 26.1
Done: Stephen Leake <stephen_leake <at> stephe-leake.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Severity: minor
Hello,
In the following code snippet:
package Brol is
procedure Inner_Proc
(A : in Integer;
Long_Name : in Boolean;
C : in Natural) is null;
end Brol;
Go to the line declaring parameter A and do M-^ (delete-indentation).
Move point after the opening parenthese.
Do C-c C-a (ada-align). This results in mis-indented lines:
package Brol is
procedure Inner_Proc (A : in Integer;
Long_Name : in Boolean;
C : in Natural) is null;
end Brol;
which C-c TAB corrects, so this is another example of ada-mode knowing
how to indent but failing to do so on the first attempt.
--
Ludovic Brenta.
This bug report was last modified 5 years and 170 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.