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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,702eea68bf4397cb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.204.15.209 with SMTP id l17mr871767bka.6.1345889035994; Sat, 25 Aug 2012 03:03:55 -0700 (PDT) Received: by 10.180.24.165 with SMTP id v5mr801629wif.1.1345889035558; Sat, 25 Aug 2012 03:03:55 -0700 (PDT) Path: m12ni134785bkm.0!nntp.google.com!news2.google.com!7no44212392wig.0!news-out.google.com!e9ni4885506wia.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: My Program Sourcecode has a Mind of its Own Suddenly. Date: Sat, 25 Aug 2012 11:03:54 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="42c1942dfadc1cd741ff4f4031e1b906"; logging-data="25088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TC+blCdHsvXg+2a/4MylSszo8dNsgaJ0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:HmTiDsV49DNUb+UjP3gfRLf3s2E= sha1:Ioy6i52VlB1wGOntxKICzEBUHJo= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2012-08-25T11:03:54+01:00 List-Id: Austin Obyrne writes: > At first I thought this will stop when I rewrite my old stuff in a new > folder but no, it is continuing – if for instance I copy and paste a > procedure from another older folder into my present folder (still > under construction) – the pasted source code appears as three spaces > in from he left-hand edge when I would 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 unless you tell it different. But for it to change just by copying from one folder to another - no! I use -gnaty (default style checks) for my own projects, so I've become accustomed to 3-spaces. Except on Stack Overflow, where Markdown uses a minimum of 4-spaces for code inserts.