unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: 56236@debbugs.gnu.org
Subject: bug#56236: Package: emacs, ada-mode
Date: Tue, 28 Jun 2022 16:55:33 -0700	[thread overview]
Message-ID: <867d502vii.fsf@stephe-leake.org> (raw)
In-Reply-To: <87letgq5u4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 28 Jun 2022 15:24:03 +0200")

The development verison of ada-mode parses this, and indents it nicely:

   procedure Absolute_Difference
     (X, Y :     Integer;
      Diff : out Integer)
   with Post =>
     (declare
         Min : constant Integer := Integer'Min (X, Y);
         Max : constant Integer := Integer'Max (X, Y);
      begin Diff = Max - Min)
    is begin
       Diff := abs X - Y;
    end Absolute_Difference;

Time for a new release.

-- 
-- Stephe





  parent reply	other threads:[~2022-06-28 23:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <302935684.2763160.1656258301795.ref@mail.yahoo.com>
2022-06-26 15:45 ` bug#56236: Package: emacs, ada-mode Cameron Howie via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-26 15:54   ` Lars Ingebrigtsen
     [not found]     ` <1632297600.4892837.1656259625032@mail.yahoo.com>
2022-06-26 16:09       ` Lars Ingebrigtsen
2022-06-27 16:26         ` Cameron Howie
2022-06-28 11:27           ` Lars Ingebrigtsen
2022-06-28 13:24           ` Lars Ingebrigtsen
2022-06-28 13:50             ` Lars Ingebrigtsen
2022-06-28 23:55             ` Stephen Leake [this message]
2022-10-10 21:07   ` bug#56236: handle "declare expression" Stephen Leake
2023-01-25 14:03   ` bug#56236: Package: emacs, ada-mode 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=867d502vii.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=56236@debbugs.gnu.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).