ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named p


From: Ludovic Brenta
Subject: bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations
Date: Fri, 13 Dec 2019 14:12:00 +0100

X-Debbugs-CC: address@hidden
Package: emacs, ada-mode
Version: 26.1
Severity: minor

In the following procedure call:

      Create_Update
        (The_F                  => New_F,
         Query                 => Query,
         S  => G (J),
         P                     => P,
         Route                   => R);

place point on the line containing The_Flight and do M-^ (delete-indentation)
then move point down then do C-c C-a (ada-align).  Actual result:

      Create_Update (The_F => New_F,
                     Query => Query,
                     S     => G (J),
                     P     => P,
                   Route   => R);

Note how the arrows are correctly aligned but the name of the last parameter isn't; what is worse, the number of spaces between route and => is incorrect, so fixing the problem requires manual intervention (C-c TAB does not suffice).

This happens only in a few cases. I will send a complete source file that
reproduces, in private.

--
Ludovic Brenta.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]