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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,702eea68bf4397cb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.66.90.102 with SMTP id bv6mr1191490pab.34.1345895893417; Sat, 25 Aug 2012 04:58:13 -0700 (PDT) Path: a5ni11362pbv.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Austin Obyrne Newsgroups: comp.lang.ada Subject: Re: My Program Sourcecode has a Mind of its Own Suddenly. Date: Sat, 25 Aug 2012 04:56:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 86.140.14.225 Mime-Version: 1.0 X-Trace: posting.google.com 1345895893 9357 127.0.0.1 (25 Aug 2012 11:58:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 25 Aug 2012 11:58:13 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.140.14.225; posting-account=pmkN8QoAAAAtIhXRUfydb0SCISnwaeyg User-Agent: G2/1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2012-08-25T04:56:22-07:00 List-Id: On Saturday, August 25, 2012 11:03:54 AM UTC+1, Simon Wright wrote: > Austin Obyrne writes: > At first I thought th= is will stop when I rewrite my old stuff in a new > folder but no, it is co= ntinuing =96 if for instance I copy and paste a > procedure from another ol= der folder into my present folder (still > under construction) =96 the past= ed source code appears as three spaces > in from he left-hand edge when I w= ould prefer it to to be my usual 2 > spaces. > > This I think is to do with= my editor which is that which comes with > the older gnat 311.p compiler. = 3-spaces is AdaCore's standard indentation, so GPS will format to that unle= ss you tell it different. But for it to change just by copying from one fol= der to another - no! I use -gnaty (default style checks) for my own project= s, so I've become accustomed to 3-spaces. Except on Stack Overflow, where M= arkdown uses a minimum of 4-spaces for code inserts. Many Thanks for that very useful info. Could you tell me how to override that default setting and go to two spaces= ? Thanks - Austin