comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Emacs Ada mode vs Ada 2012 syntax
Date: Sun, 02 Sep 2012 07:23:26 -0400
Date: 2012-09-02T07:23:26-04:00	[thread overview]
Message-ID: <85pq64vfbl.fsf@stephe-leake.org> (raw)
In-Reply-To: Pine.LNX.4.64.1209010920590.27928@medsec1.medien.uni-weimar.de

stefan-lucks@see-the.signature writes:

> On Fri, 31 Aug 2012, Stephen Leake wrote:
>
>> 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. 

How does using GPL code for an indentation engine create vendor
dependence?

As I understand it, "vendor dependence" means supporting only one (or a
few) Ada compiler vendors. For Ada mode, the things that can be
vendor-dependent are the command line used to invoke the compiler, the
syntax of the error messages, the cross-reference information, and the
project files. 

Precisely because Ada source code syntax is _standard_ (ie _not_
vendor-dependent), an indentation engine cannot possibly introduce vendor
dependence.

Invoking the compiler and parsing the error messages is nicely
vendor-independent in Emacs Ada mode, and would stay that way if the
indentation engine used GPS Ada code.

On the other hand, since Emacs understands only GNAT cross-reference info,
and has gpr-mode, which is AdaCore specific, it's already
vendor-dependent. But that's considered ok because GNAT is Open Source,
and part of the Gnu project. 

-- 
-- Stephe



  reply	other threads:[~2012-09-07  1:22 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 10:11 Emacs Ada mode vs Ada 2012 syntax Stephen Leake
2012-08-31 10:47 ` Georg Bauhaus
2012-09-01 16:25   ` Stephen Leake
2012-08-31 11:33 ` Simon Wright
2012-09-01  7:31 ` stefan-lucks
2012-09-02 11:23   ` Stephen Leake [this message]
2012-09-06  6:04 ` Jerry van Dijk
2012-09-06 15:46   ` Adam Beneschan
2012-09-07  9:45     ` Stephen Leake
2012-10-03 12:40 ` Jacob Sparre Andersen
2012-10-04  8:28   ` Stephen Leake
2012-10-08  9:37     ` Markus Schöpflin
2012-10-09  3:14       ` Stephen Leake
2012-10-09  7:53         ` Markus Schöpflin
2012-10-10  6:19           ` Stephen Leake
2012-10-10  7:55             ` Markus Schöpflin
2012-10-12 16:30               ` Jacob Sparre Andersen
2012-10-13 12:20               ` Stephen Leake
2012-10-14  1:23                 ` Vasiliy Molostov
2012-10-23  9:30               ` Gour
2012-10-23 11:27                 ` Markus Schöpflin
2012-10-23 21:56                   ` Gour
2012-10-23 11:31             ` Markus Schöpflin
2012-10-24 10:13               ` Stephen Leake
2012-10-24 13:06                 ` Markus Schöpflin
2013-03-24 20:18                   ` Gour
2013-03-24 22:34                     ` Simon Wright
2013-03-25  7:21                       ` Gour
2013-03-26 20:27                         ` Stephen Leake
2013-03-26 21:24                           ` Gour
2013-03-29 22:02                             ` Stephen Leake
2013-03-30  5:54                               ` Gour
2013-03-31 11:39                                 ` Stephen Leake
2013-03-31 21:01                                   ` Gour
2013-04-02 11:12                                     ` Stephen Leake
2013-04-02 13:20                           ` Shmuel Metz
2013-04-04  8:10                             ` Stephen Leake
2013-04-04  9:21                               ` Simon Wright
2013-04-05  8:35                                 ` Stephen Leake
2013-04-06  7:43                                   ` Simon Wright
2013-04-04  9:38                               ` Gour
2013-04-05  8:37                                 ` Stephen Leake
2013-04-06  3:31                                   ` Dennis Lee Bieber
2013-04-06  7:04                                   ` Gour
2013-04-08  7:43                                     ` Markus Schöpflin
2013-04-08  8:53                                       ` Gour
2013-04-10 22:39                                       ` Stephen Leake
2013-04-11  4:31                                         ` Gour
2013-04-12 10:56                                           ` Stephen Leake
2013-04-12 12:07                                             ` Gour
2013-04-12 13:03                                               ` Markus Schöpflin
2013-04-12 13:09                                                 ` Gour
2013-04-07  2:34                               ` Shmuel Metz
2013-04-10 22:38                                 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox