From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.216.11 with SMTP id a11mr10273508ywe.49.1465345991182; Tue, 07 Jun 2016 17:33:11 -0700 (PDT) X-Received: by 10.157.6.39 with SMTP id 36mr285299otn.14.1465345991124; Tue, 07 Jun 2016 17:33:11 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!q32no5024700qgq.0!news-out.google.com!107ni181qgx.1!nntp.google.com!q32no5024695qgq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 7 Jun 2016 17:33:10 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.51.2.85; posting-account=7Oy7OQoAAABhVYFOo553Cn1-AaU-bSfl NNTP-Posting-Host: 74.51.2.85 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0c1bf32b-13e9-486f-9acc-96fa371c0b90@googlegroups.com> Subject: Re: GNAT GPL 2016 Editor Bugs? From: Eryndlia Mavourneen Injection-Date: Wed, 08 Jun 2016 00:33:11 +0000 Content-Type: text/plain; charset=UTF-8 X-Received-Bytes: 2375 X-Received-Body-CRC: 2463932056 Xref: news.eternal-september.org comp.lang.ada:30653 Date: 2016-06-07T17:33:10-07:00 List-Id: On Tuesday, June 7, 2016 at 6:49:07 AM UTC-5, Simon Wright wrote: > Eryndlia Mavourneen writes: > > > 1) > > type A is new B with > > record > > C : D; > > end record; > > I tried this with just > > package Eryndlia is > type A is new B with > record > C : D; > end record; > type A is new B with > record > C : D; > end record; > end Eryndlia; > > and that is the layout I got from GPS (after putting everything to the > left margin). > > Likewise with Emacs ada-mode. Ahhhh! Never be in a hurry when posting. LOL My apology, Simon. Apparently, the error is a combination of the above record extension PLUS a comment inserted before "record" -- the start column of the comment is immaterial. So the indentation problem is caused by THIS: type A is new B with -- This is how I made the comment. record C : D; end record; THIS record definition does NOT cause the problem: type A is -- This is how I made the comment. record C : D; end record; -- Eryndlia [KK1T active on WinLink]