GNU bug report logs - #38591
26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations

Previous Next

Packages: ada-mode, emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Fri, 13 Dec 2019 13:13:01 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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Subject: bug#38591: closed (closed by ada-mode version 7.0.1)
Date: Fri, 31 Jan 2020 14:13:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations

which was filed against the emacs, ada-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 38591 <at> debbugs.gnu.org.

-- 
38591: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38591
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 38591-close <at> debbugs.gnu.org
Subject: closed by ada-mode version 7.0.1
Date: Fri, 31 Jan 2020 06:12:42 -0800
-- 
-- Stephe

[Message part 3 (message/rfc822, inline)]
From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 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: ada-mode-users <at> nongnu.org
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.



This bug report was last modified 5 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.