[Emacs-ada-mode] updated ada-mode with manual

Ludovic Brenta ludovic at ludovic-brenta.org
Thu Aug 31 02:29:45 PDT 2006


Stephen Leake writes:
> Randall writes:
>> and caters for the necessary bits; if things are not automatic, then
>> the programmer expects that Ada-mode does what he tells it (build
>> *this* module). 
>
> Typing C-c C-c does not tell ada-mode that.
>
> Typing C-c C-m will.

Stephe, I like your idea of C-c C-m quite a lot; I think it would
address everyone's concerns.  One remark though: I would like it if C-c
C-m would *not* override the current main, if any.  I believe this is
easy to achieve in Lisp using save-excursion.  With this scheme:

C-x C-f foo.adb
C-c C-c            -> gnatmake foo
C-x C-f bar.adb
C-c C-m            -> gnatmake bar (in an "excursion")
C-c C-c            -> gnatmake foo (reuse the unchanged global main)

What do you think?

-- 
Ludovic Brenta.



More information about the Emacs-ada-mode mailing list