[Emacs-ada-mode] Thanks and my first enquiry
Rolf Ebert
rolf.ebert.emacs at gmx.de
Mon Aug 21 12:37:26 PDT 2006
On Sun, 20 Aug 2006 21:18:16 +0200, Stephen Leake
<stephen_leake at stephe-leake.org> wrote:
> Manuel Gomez <mgrojo at ya.com> writes:
>> There is an Ada mode info manual. It can be access in my installation
>> from "Ada > Help > Ada mode", as well as from the info directory.
>
> Hmm. It's not in the Ada mode menu in my Emacs, but I do see it in the
> top level info directory, and in the Emacs CVS sources. I just never
> noticed it before :(.
That is probably due to your own modifs in ada-mode. The meny entry
Ada->Help gets set in emacs-ada-mode-V3.6 and in vanilla Emacs 21.3.
>> Perhaps the current behaviour is not the best one for novice users.
>> Instead of remembering that the main program was the current file for
>> the first C-c C-c invocation, it should ask for a project file or a new
>> one when it is not any loaded yet.
>
> I think it's overkill to require a separate project file for each main
> program. Perhaps we can improve the Ada | Project menu to allow
> selecting the current main program within the project as well.
If I have the need to build more than one executable in one directory I
typically have the following instructions in my project file:
Main_Name := external ("MAIN", "selftest");
for Main use (Main_Name);
and pass the main program as a parameter to gnatmake.
Rolf
(I am here, too)
More information about the Emacs-ada-mode
mailing list