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!reader01.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: ALI Files Cross-References Inconsistency? Date: Sat, 15 Aug 2020 09:56:17 +0200 Organization: Adalog Message-ID: References: <1ab5413e-ac60-4fb7-b3bd-930de3f0fe0do@googlegroups.com> <20b0ed7c-15f3-4a40-b7f6-cf80a4ec4e0do@googlegroups.com> <43zZG.1199829$rLg.1003039@fx49.ams4> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 15 Aug 2020 07:56:18 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a0c08a485334aadd20962ecab77b027b"; logging-data="12274"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cezKpvp3hgIICOc0FjyT4" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 Cancel-Lock: sha1:nNAiRZMSHSMhdujitvwgIwyymaY= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:59723 List-Id: Le 14/08/2020 à 19:23, Simon Wright a écrit : > Per Sandberg writes: > >> Just a comment, s in source text is a common root of confusion >> since every editor indents s in some way. > > In GPS (GNAT Studio) the Preferences / Editor / Ada includes a 'Use > tabulations' option that is unchecked (here, and I haven't changed it); > so when you hit TAB in Ada the code is indented the appropriate number > of spaces, not using tabs. > > My Emacs is set up to remove any TABs that have found their way into an > Ada file whenever it's saved. (At one point I had this set for any file > type; not a good plan for a Makefile). > AdaControl has a rule: check characters (control); that will indentify all tabs. This rule generate fixes, so the companion utility adactl_fix can replace them automatically with 4 spaces. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr