[Emacs-ada-mode] Using GNAT Project (*.gpr) files with Ada Mode

Stephen Leake Stephe.Leake at nasa.gov
Fri Aug 15 00:33:13 PDT 2008


deadlyhead <deadlyhead at deadlyhead.com> writes:

> A subject that's been spoken of before is the use of GNAT project files 
> in Ada Mode. 

This is supported in the current Emacs Ada mode;
http://stephe-leake.org/emacs/ada-mode/ada-mode.html#Project-files 

This will be in the Emacs 22.3 release.

> Users of our packages can't be expected to build them with Emacs Ada
> Mode (as nice as it is), 

I'm not clear what you are talking about here; what functionality is
missing?

> so using Emacs to develop and test the .gpr files would be
> incredibly valuable. 

I do this all the time; the .gpr files are tested by using them with
GNAT to compile the Ada code.

> In fact, just having Ada Mode utilize the .gpr files to organize
> itself would be best, as you're always developing with what you're
> distributing, making sure it always works.

If by "orgainize itself" you mean "set the Emacs Ada mode project
variables", that is currently supported.

> <snip>  It may help turn more free software projects onto Ada + 
> Emacs, which is the best programming environment I've used.

That, I agree with :)

-- 
-- Stephe



More information about the Emacs-ada-mode mailing list