[Emacs-ada-mode] Thanks and my first enquiry

The masked-coder known as Randux randux at Safe-mail.net
Sun Aug 20 12:07:19 PDT 2006


Manuel wrote:
> The masked-coder known as Randux wrote:
> > 
> > Blast, it seems as though I spoke too soon.  The M-x
> > ada-compile-current doesn't do what I need- it only compiles.  I want
> > it to do a full, normal gnatmake on the module just like C-c C-c was
> > supposed to do.  Sorry about that.  Back to the drawing board.
> > 
> 
> What do you mean by module? ada-compile-current compiles just the
> current file, be it the main program, a package body, etc. If you want
> to build different main programs in an Emacs session, I think you should
> define a project file for every main program, and switch to the one
> appropiate when you want to build it. Check the "Ada > Project" submenu.

I don't know why there shouldn't be an option to do a gnatmake on whatever buffer I'm working with.  There seems to be every other possibility, but the obvious one (that I want to build what I'm working on!) is not addressed!

I shouldn't have to switch projects or do anything at all.  I just want to gnatmake *this* thing I'm editing.  And when I edit something else, I want to be able to gnatmake on that other thing, and so forth.

Have I gone mad or does this make any sense at all? ;)

Randall



More information about the Emacs-ada-mode mailing list