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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38591 in the body.
You can then email your comments to 38591 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#38591; Package emacs, ada-mode. (Fri, 13 Dec 2019 13:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
New bug report received and forwarded. Copy sent to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org. (Fri, 13 Dec 2019 13:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Added tag(s) pending. Request was from Stephen Leake <stephen_leake <at> stephe-leake.org> to control <at> debbugs.gnu.org. (Fri, 13 Dec 2019 23:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#38591; Package emacs, ada-mode. (Fri, 13 Dec 2019 23:21:01 GMT) Full text and rfc822 format available.

Message #10 received at 38591 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 38591 <at> debbugs.gnu.org
Subject: update
Date: Fri, 13 Dec 2019 15:20:07 -0800
Reproduced and fixed in development sources.

There's a bug in the way the error recovery is used to correct the
indent computed by the parser. 

-- 
-- Stephe




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Fri, 31 Jan 2020 14:13:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Fri, 31 Jan 2020 14:13:03 GMT) Full text and rfc822 format available.

Message #15 received at 38591-close <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Feb 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 50 days ago.

Previous Next


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