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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8183b99d3c85c57b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-04 16:20:51 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!skynet.be!skynet.be!louie!tlk!not-for-mail Sender: lbrenta@lbrenta Newsgroups: comp.lang.ada Subject: Re: Handling Exceptions? References: From: Ludovic Brenta User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Date: 05 Nov 2003 01:20:48 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 217.136.27.120 X-Trace: 1067991648 reader3.news.skynet.be 27749 217.136.27.120:38690 X-Complaints-To: usenet-abuse@skynet.be Xref: archiver1.google.com comp.lang.ada:2062 Date: 2003-11-05T01:20:48+01:00 List-Id: Ludovic Brenta writes: > The RM and the Rationale recommend that you indent the "exception" > keyword at the same level as the "begin" keyword, like this: > > declare > -- declarations > begin > -- statements > exception > when others => > -- statements > end; > > This better reflects the grammatical structure for exception handlers. And, I might add, I personally recommend you use Emacs with ada-mode, which indents automatically for you as you type. I have been heard to say "There is only one editor, but Vim is the other" :) (and yes, I write this in Emacs using Gnus). -- Ludovic Brenta.