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

Previous Next

Packages: emacs, ada-mode;

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.

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#38589: closed (closed by ada-mode version 7.0.1)
Date: Fri, 31 Jan 2020 14:13:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly

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 38589 <at> debbugs.gnu.org.

-- 
38589: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38589
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: 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

[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 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.



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

Previous Next


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