* bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations
@ 2019-12-13 13:12 Ludovic Brenta
2019-12-13 23:20 ` bug#38591: update Stephen Leake
2020-01-31 14:12 ` bug#38591: closed by ada-mode version 7.0.1 Stephen Leake
0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Brenta @ 2019-12-13 13:12 UTC (permalink / raw)
To: 38591; +Cc: ada-mode-users
X-Debbugs-CC: ada-mode-users@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38591: update
2019-12-13 13:12 bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations Ludovic Brenta
@ 2019-12-13 23:20 ` Stephen Leake
2020-01-31 14:12 ` bug#38591: closed by ada-mode version 7.0.1 Stephen Leake
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2019-12-13 23:20 UTC (permalink / raw)
To: 38591
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38591: closed by ada-mode version 7.0.1
2019-12-13 13:12 bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations Ludovic Brenta
2019-12-13 23:20 ` bug#38591: update Stephen Leake
@ 2020-01-31 14:12 ` Stephen Leake
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2020-01-31 14:12 UTC (permalink / raw)
To: 38591-close
--
-- Stephe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-31 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-13 13:12 bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations Ludovic Brenta
2019-12-13 23:20 ` bug#38591: update Stephen Leake
2020-01-31 14:12 ` bug#38591: closed by ada-mode version 7.0.1 Stephen Leake
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.