1 |
\input texinfo @c -*-texinfo-*- |
\input texinfo @c -*-texinfo-*- |
2 |
@setfilename ../info/ada-mode |
@setfilename ../info/ada-mode |
3 |
@settitle Ada Mode |
@settitle Ada Mode |
|
@dircategory Emacs |
|
|
@direntry |
|
|
* Ada mode: (ada-mode). Emacs mode for editing Ada code. |
|
|
@end direntry |
|
4 |
|
|
5 |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
6 |
@comment The following lines inserts the copyright notice |
@comment The following lines inserts the copyright notice |
7 |
@comment into the Info file. |
@comment into the Info file. |
8 |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
9 |
|
|
10 |
@ifnottex |
@copying |
11 |
Copyright @copyright{} 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright @copyright{} 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
12 |
|
|
13 |
|
@quotation |
14 |
Permission is granted to copy, distribute and/or modify this document |
Permission is granted to copy, distribute and/or modify this document |
15 |
under the terms of the GNU Free Documentation License, Version 1.1 or |
under the terms of the GNU Free Documentation License, Version 1.1 or |
16 |
any later version published by the Free Software Foundation; with the |
any later version published by the Free Software Foundation; with the |
28 |
Documentation License. If you want to distribute this document |
Documentation License. If you want to distribute this document |
29 |
separately from the collection, you can do so by adding a copy of the |
separately from the collection, you can do so by adding a copy of the |
30 |
license to the document, as described in section 6 of the license. |
license to the document, as described in section 6 of the license. |
31 |
@end ifnottex |
@end quotation |
32 |
|
@end copying |
33 |
|
|
34 |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
@dircategory Emacs |
35 |
@comment TeX title page |
@direntry |
36 |
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
* Ada mode: (ada-mode). Emacs mode for editing Ada code. |
37 |
|
@end direntry |
38 |
|
|
39 |
@titlepage |
@titlepage |
40 |
@sp 10 |
@sp 10 |
43 |
@subtitle An Emacs major mode for programming Ada 95 with GNAT |
@subtitle An Emacs major mode for programming Ada 95 with GNAT |
44 |
@subtitle July 1998 for Ada Mode Version 3.0 |
@subtitle July 1998 for Ada Mode Version 3.0 |
45 |
@sp 2 |
@sp 2 |
|
|
|
46 |
@page |
@page |
47 |
@vskip 0pt plus 1filll |
@vskip 0pt plus 1filll |
48 |
Copyright @copyright{} 1999, 2000, 2001 Free Software Foundation, Inc. |
@insertcopying |
|
@sp 1 |
|
|
Permission is granted to copy, distribute and/or modify this document |
|
|
under the terms of the GNU Free Documentation License, Version 1.1 or |
|
|
any later version published by the Free Software Foundation; with the |
|
|
Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and |
|
|
``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU |
|
|
Manual'', and with the Back-Cover Texts as in (a) below. A copy of the |
|
|
license is included in the section entitled ``GNU Free Documentation |
|
|
License'' in the Emacs manual. |
|
|
|
|
|
(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify |
|
|
this GNU Manual, like GNU software. Copies published by the Free |
|
|
Software Foundation raise funds for GNU development.'' |
|
|
|
|
|
This document is part of a collection distributed under the GNU Free |
|
|
Documentation License. If you want to distribute this document |
|
|
separately from the collection, you can do so by adding a copy of the |
|
|
license to the document, as described in section 6 of the license. |
|
49 |
@end titlepage |
@end titlepage |
50 |
|
|
51 |
|
|
64 |
defined in your application |
defined in your application |
65 |
* File Browser:: Easy access to your files |
* File Browser:: Easy access to your files |
66 |
* Automatic Smart Indentation:: Indenting your code automatically as you type |
* Automatic Smart Indentation:: Indenting your code automatically as you type |
67 |
* Formatting Parameter Lists:: Formating subprograms parameter lists |
* Formatting Parameter Lists:: Formatting subprograms' parameter lists |
68 |
automatically |
automatically |
69 |
* Automatic Casing:: Adjusting the case of words automatically |
* Automatic Casing:: Adjusting the case of words automatically |
70 |
* Statement Templates:: Inserting code templates |
* Statement Templates:: Inserting code templates |
129 |
switching between spec and body files with eventually |
switching between spec and body files with eventually |
130 |
auto-generation of body files, |
auto-generation of body files, |
131 |
@item |
@item |
132 |
automatic formating of subprograms parameter lists. |
automatic formatting of subprograms' parameter lists. |
133 |
@item |
@item |
134 |
automatic smart indentation according to Ada syntax, |
automatic smart indentation according to Ada syntax, |
135 |
@item |
@item |
161 |
Ada mode every time you edit an Ada file. |
Ada mode every time you edit an Ada file. |
162 |
|
|
163 |
Also, for general usage variables that you might want to set, |
Also, for general usage variables that you might want to set, |
164 |
see |
see |
165 |
@iftex |
@iftex |
166 |
@cite{The GNU Emacs Manual}. |
@cite{The GNU Emacs Manual}. |
167 |
@end iftex |
@end iftex |
337 |
@item C-c u |
@item C-c u |
338 |
@findex ada-customize |
@findex ada-customize |
339 |
Create or edit the project file for the current buffer (@code{ada-customize}). |
Create or edit the project file for the current buffer (@code{ada-customize}). |
340 |
@item C-c c |
@item C-c c |
341 |
@findex ada-change-prj |
@findex ada-change-prj |
342 |
Change the project file associated with the current Ada buffer (@code{ada-change-prj}). |
Change the project file associated with the current Ada buffer (@code{ada-change-prj}). |
343 |
@item C-c d |
@item C-c d |
682 |
place. |
place. |
683 |
|
|
684 |
You can activate this mode by typing @key{M-x speedbar} in the editor. |
You can activate this mode by typing @key{M-x speedbar} in the editor. |
685 |
This will open a new frame. A better way might be to assicate the |
This will open a new frame. A better way might be to associate the |
686 |
following key binding |
following key binding |
687 |
|
|
688 |
@example |
@example |