GNU Info

Info Node: (ada-mode)Installation

(ada-mode)Installation


Next: Customization Prev: Overview Up: Top
Enter node , (file) or (file)node

Installation
************

   If you  got Ada mode as  a separate distribution, you  should have a
look at the  `README' file.  It explains the  basic steps necessary for
a good installation of the emacs Ada mode.

   Installing the  Ada mode  is basically  just a matter  of copying  a
few files into  the Emacs  library directories. Every  time you open  a
file with  a  file  extension  of  `.ads'  or  `.adb',  Emacs  will
automatically load and activate Ada mode.

   Note: Using non-standard file names, if your  files do not use
these extensions and if you want Emacs to automatically start the Ada
mode every time you edit an Ada file.

   See also the Emacs Manual (Note: (Top.), for general
usage variables that you might want to set.

Required files
==============

   This Ada  mode works best  with Emacs 20.3  or higher (the  easy
editing features for the  project files won't work with  any older
version), but most of the commands should work  with older versions
too. Please try to install  the  most  recent  version  of  Emacs  on
your  system  before installing Ada mode.

   Although part of Ada mode is compiler-independent, the most advanced
features are specific to the Gnat compiler <http://www.gnat.com>.

   The following files are provided with the Ada mode distribution:

   * `ada-mode.el': The main file for Ada mode.  This  is the  only
     file  which does  not require  Gnat. It  contains the functions
     for  indentation,  formatting  of parameter  lists,  stepping
     through  code, comment  handling and  automatic casing.   Emacs
     versions 20.2 and higher already contain Ada mode version 2.27,
     which is an older version of this file  and should be replaced.
     Loading `ada-mode.el' from the current distribution supersedes the
     standard installation.

   * `ada-stmt.el': Contains the statement templates feature.

   * `ada-xref.el': This file provides the main support for Gnat.  This
     is  where  the   functions  for  cross-references,  completion  of
     identifiers,  support   for  project  files  and   compilation  of
     your application are defined.

   * `ada-prj.el': The functions to use for easy-edition of the project
     files.  This file is the only one which really requires Emacs at
     least 20.2. It uses the new widget features from Emacs.



automatically generated by info2www version 1.2.2.9