From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Unreferenced parameters Date: Tue, 09 Feb 2021 21:20:18 +0000 Organization: Aioe.org NNTP Server Message-ID: References: <86blct1393.fsf@stephe-leake.org> NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:3Pl2JWd8+29iVUAz0D9KkaDxlMY= Xref: reader02.eternal-september.org comp.lang.ada:61331 List-Id: Stephen Leake writes: > Egil H H writes: > >> On Thursday, February 4, 2021 at 11:27:14 AM UTC+1, Simon Wright wrote: >>> > overriding function Expand_Tabs >>> > (This : Dummy_Editor_Buffer with Unreferenced; >>> > Line : Editable_Line_Type with Unreferenced; >>> > Column : Character_Offset_Type with Unreferenced) return >>> > Visible_Column_Type is (0); >>> As you say, not yet. But .. looking good! >> >> It's included in the New Features list of GNAT Pro 21.1 > > Sigh. Now I have to add that to ada-mode, in the grammar and in > ada-format-parameter-list. > > How do we want this indented when 'with ...' is on a new line: > > overriding function Expand_Tabs > (This : Some.Very_Long.Subtype_Name > with Unreferenced; > Line : Editable_Line_Type with Unreferenced; > Column : Character_Offset_Type with Unreferenced) > return Visible_Column_Type > is (0); Of course we can't yet know what the compiler will be happy with! (with -gnaty, I mean)