unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly
@ 2019-12-13 12:41 Ludovic Brenta
  2019-12-13 19:54 ` bug#38589: update Stephen Leake
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ludovic Brenta @ 2019-12-13 12:41 UTC (permalink / raw)
  To: 38589; +Cc: ada-mode-users

Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38589: update
  2019-12-13 12:41 bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly Ludovic Brenta
@ 2019-12-13 19:54 ` Stephen Leake
  2020-01-31 14:09 ` Stephen Leake
  2020-01-31 14:12 ` bug#38589: closed by ada-mode version 7.0.1 Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2019-12-13 19:54 UTC (permalink / raw)
  To: 38589

Reproduced and fixed in development sources; the parameter align code
was ignoring the initial indent.

-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38589: update
  2019-12-13 12:41 bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly Ludovic Brenta
  2019-12-13 19:54 ` bug#38589: update Stephen Leake
@ 2020-01-31 14:09 ` Stephen Leake
  2020-01-31 14:12 ` bug#38589: closed by ada-mode version 7.0.1 Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2020-01-31 14:09 UTC (permalink / raw)
  To: 38589

fixed in 7.0.1
-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38589: closed by ada-mode version 7.0.1
  2019-12-13 12:41 bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly Ludovic Brenta
  2019-12-13 19:54 ` bug#38589: update Stephen Leake
  2020-01-31 14:09 ` Stephen Leake
@ 2020-01-31 14:12 ` Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2020-01-31 14:12 UTC (permalink / raw)
  To: 38589-close


-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-31 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-13 12:41 bug#38589: 26.1; ada-mode 6.2.1: ada-align indents some parameter lists incorrectly Ludovic Brenta
2019-12-13 19:54 ` bug#38589: update Stephen Leake
2020-01-31 14:09 ` Stephen Leake
2020-01-31 14:12 ` bug#38589: closed by ada-mode version 7.0.1 Stephen Leake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).