GNU bug report logs - #38589
26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly

Previous Next

Packages: ada-mode, emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38589 in the body.
You can then email your comments to 38589 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#38589; Package emacs, ada-mode. (Fri, 13 Dec 2019 12:42: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 12:42: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 indents some parameter lists
 incorrectly
Date: Fri, 13 Dec 2019 13:41:13 +0100
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.




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

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

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 38589 <at> debbugs.gnu.org
Subject: update
Date: Fri, 13 Dec 2019 11:54:06 -0800
Reproduced and fixed in development sources; the parameter align code
was ignoring the initial indent.

-- 
-- Stephe




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 20:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org:
bug#38589; Package emacs, ada-mode. (Fri, 31 Jan 2020 14:10:02 GMT) Full text and rfc822 format available.

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

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 38589 <at> debbugs.gnu.org
Subject: update
Date: Fri, 31 Jan 2020 06:09:46 -0800
fixed in 7.0.1
-- 
-- 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:02 GMT) Full text and rfc822 format available.

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

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 38589-close <at> debbugs.gnu.org
Subject: closed by ada-mode version 7.0.1
Date: Fri, 31 Jan 2020 06:12:11 -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 51 days ago.

Previous Next


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