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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5bc93e84b760a04c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.85.136 with SMTP id h8mr808889paz.46.1346980971486; Thu, 06 Sep 2012 18:22:51 -0700 (PDT) Path: t10ni3704330pbh.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!news-in-01.newsfeed.easynews.com!news-in-04.newsfeed.easynews.com!easynews.com!easynews!npeer02.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!feed.xsnews.nl!border-3.ams.xsnews.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!usenetcore.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!news.stw-bonn.de!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: Emacs Ada mode vs Ada 2012 syntax Date: Sat, 1 Sep 2012 09:31:32 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <85r4qnweue.fsf@stephe-leake.org> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 X-Trace: tigger.scc.uni-weimar.de 1346487923 9894 141.54.178.228 (1 Sep 2012 08:25:23 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Sat, 1 Sep 2012 08:25:23 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: <85r4qnweue.fsf@stephe-leake.org> X-Received-Bytes: 2828 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: 2012-09-01T09:31:32+02:00 List-Id: On Fri, 31 Aug 2012, Stephen Leake wrote: > I've started using some Ada 2012 syntax, in particular if expressions, > and it confuses the Emacs Ada mode indentation engine. Indeed! > One option is to totally rewrite that part of Emacs Ada mode, replacing > it with a semantic browser based engine implemented in elisp. Emacs has > support in general for this approach; several other language modes use > it. We could possibly get hints from the GPS implementation (I'm > assuming it does Ada 2012 by now). Looks like a sound approach. But a lot of work, though. > Another option is to try to abstract the Ada implementation of the > indentation engine from GPS, and arrange for Emacs to use it, via > process or function calls. I don't think that would be easy, and it > could be too slow. Please don't! One of the good things about Emacs is its vendor-independence. > Another option is to give up on Emacs. I don't want to do that, but if > there are not many people using it, maybe it's time. I am using it. On my desktop PC, I have both GPS and Emacs. On the netbook I use when trevelling, I only have Emacs. > Opinions? Offers of help? I would like to help. Alas, I have no knowledge about elisp. -- ---- Stefan.Lucks (at) uni-weimar.de, University of Weimar, Germany ---- ------ I love the taste of Cryptanalysis in the morning! ------