Gnu Emacs Emacs ada-mode homepage


Files

ada-mode-2007-11-14.tar.gz
My latest version.
gnatpath.exe for Windows, GNAT 6.0.2
gnatpath is a faster version of 'gnat list -P'. See the Ada mode manual. Since the project file syntax can change with GNAT compiler version, you should recompile for your compiler. Source is included in the Ada mode distribution.
ada-mode-examples-2007-05-26.tar.gz
Ada examples from the current Ada mode manual.
ada-mode.html
The current Ada mode manual. The distribution contains this and an Emacs info version.
ada-mode-patches.el
My current patches to Ada mode; open for discussion about including in Emacs distribution.
ada-mode-keys.el
My bindings, settings, and hooks for using Ada mode; provided as an example.
gnat-fix-error.el
Utilities for automatically fixing errors reported by the gnat compiler; proposed addition to Ada mode.

Discussion, things to do

Subscribe to the Emacs ada-mode mailing list

  1. Add more support for Ada 2005
    1. indentation for overriding indicators; see below
  2. Merge my other patches/additions to Ada mode.
  3. General clean up
    1. Reorganize ada-*.el; ada-xref.el has most of the project file support, but it should be split out.
    2. Delete ada-aunit.el; does anybody use this?
  4. Other?

overriding indicator indentation

Currently, I use this style:

   overriding procedure Initialize (Module : in out Module_Type);
   not overriding procedure Before_After
     (Module            : access Module_Type;
      Before_Integrator :    out Boolean;
      After_Integrator  :    out Boolean);

This works with the current indentation engine. We should also support the LRM style:

   overriding
   procedure Initialize (Module : in out Module_Type);

   not overriding
   procedure Before_After
     (Module            : access Module_Type;
      Before_Integrator :    out Boolean;
      After_Integrator  :    out Boolean);

This doesn't work with the current engine; 'procedure' is indented. Before I try to make that change, I'd like to get the current indentation tests working, so I can tell if I break something. At the moment, most work; I need to understand why the others don't.

I also need time to figure out how the indentation engine works in general :)


Website maintained with WWWsync

Valid HTML 4.0! Created with Emacs

Last modified: Wed Nov 14 20:54:12 Eastern Standard Time 2007