[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists
From: |
Ludovic Brenta |
Subject: |
bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly |
Date: |
Fri, 13 Dec 2019 13:41:13 +0100 |
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users@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.
- bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly,
Ludovic Brenta <=