unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 38591@debbugs.gnu.org
Cc: ada-mode-users@nongnu.org
Subject: bug#38591: 26.1; ada-mode 6.2.1 ada-align occasionally misaligns named parameter associations
Date: Fri, 13 Dec 2019 14:12:00 +0100	[thread overview]
Message-ID: <12cb3f42d42c7315c561d2e4be9a1784@ludovic-brenta.org> (raw)

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.





             reply	other threads:[~2019-12-13 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-13 13:12 Ludovic Brenta [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12cb3f42d42c7315c561d2e4be9a1784@ludovic-brenta.org \
    --to=ludovic@ludovic-brenta.org \
    --cc=38591@debbugs.gnu.org \
    --cc=ada-mode-users@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).