X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/f11199dbc2e6334efde4739df386ba8709151be4..790d13440166d9e79ee10a952aa47a87423f1d65:/packages/ada-mode/ada-mode.info diff --git a/packages/ada-mode/ada-mode.info b/packages/ada-mode/ada-mode.info index ec4d58e6a..018ba6653 100644 --- a/packages/ada-mode/ada-mode.info +++ b/packages/ada-mode/ada-mode.info @@ -46,8 +46,8 @@ Copyright (C) 1999 - 2014 Free Software Foundation, Inc. * Moving Through Ada Code:: Moving easily through Ada sources * Identifier completion:: Finishing words automatically * Indentation:: Indenting your code automatically as you type -* Statement skeletons:: -* Aligning code:: +* Statement skeletons:: Some code is written for you +* Aligning code:: Making it pretty * Automatic casing:: Adjusting the case of words automatically * Comment Handling:: Reformatting comments easily * Key summary:: @@ -94,7 +94,8 @@ File: ada-mode.info, Node: Installation, Next: Customization, Prev: Overview, 2 Installation ************** -Ada mode requires Emacs 24.2 or greater. +Ada mode requires Emacs 24.2 or greater; it also requires the Emacs lisp +sources (not just the compiled binaries). Ada mode is distributed in the Gnu ELPA package archive; it can be installed via 'M-x list-packages' (*note (emacs)Packages::). You must @@ -129,18 +130,23 @@ tool 'gnatinspect', which supports Ada, C, C++, and any other language for which gcc provices the '-fdump-xref'. 'gnatinspect' is distributed as part of 'gnatcoll'. Ada mode -requires the very latest version, in 'gnatcoll 1.7w' distributed with -GNATPro 7.2. +requires the very latest version, in 'gnatcoll 1.6' distributed with +GNATPro 7.2. 'gnatcoll 1.6' must be compiled with GNATPro 7.2. To build 'gnatinspect', assuming gnat-7.2 is installed in -'/usr/gnat-7.2': +'/usr/gnat-7.2', and gnat-7.2 is in PATH: - tar xf ~/Downloads/gnatcoll-1.7w-src.tgz - cd gnatcoll-1.7w-src + tar xf ~/Downloads/gnatcoll-1.6-src.tgz + cd gnatcoll-1.6-src ./configure --prefix=/usr/gnat-7.2 make Gnatcoll_Build=Debug sudo make Gnatcoll_Build=Debug install + To build an sqlite3 executable that is compatible with the database +created by gnatinspect: + + gcc -O2 -o sqlite3 shell.c sqlite3.c -ldl -lpthread +  File: ada-mode.info, Node: Upgrading, Prev: gnatinspect, Up: Installation @@ -1339,10 +1345,12 @@ this is a convenient way to insert statements with correct indentation. For named statements (packages, loops, etc), the name is taken from the word before point, and the name of the statement from the word -before that. Some expansions prompt for more information, such as -whether a spec or body is desired. For example, 'package A_Package C-c -C-e' first prompts for "body" or "spec". If "spec" is selected, the -following code is inserted: +before that. + + Some expansions prompt for more information, such as whether a spec +or body is desired. For example, 'package A_Package C-c C-e' first +prompts for "body" or "spec". If "spec" is selected, the following code +is inserted: package A_Package is private @@ -1359,6 +1367,16 @@ following code is inserted: Note that the order of the keyword 'declare' and the name 'A_Block' are reversed in the expansion; this may take some getting used to. +Alternately, if no name is present in the buffer, you are prompted for a +name: 'declare C-c C-e' first prompts for a name, then expands to the +above. + + The variable 'ada-skel-initial-string' defines what to insert in a +newly created empty buffer. It defaults to '{header}', which is a +placeholder defined by 'ada-skel-header', which inserts a typical header +with a copyright license (choice of GPL or restricted). Users will +typically want to override the definition of 'ada-skel-initial-string' +and/or 'ada-skel-header', or provide more choices of copyright license.  File: ada-mode.info, Node: Aligning code, Next: Automatic casing, Prev: Statement skeletons, Up: Top @@ -2395,46 +2413,46 @@ Index  Tag Table: Node: Top945 -Node: Overview2508 -Node: Installation3719 -Node: gnatinspect4533 -Node: Upgrading5267 -Node: Customization5841 -Node: Non-standard file names6323 -Node: Other compiler8164 -Node: Other cross-reference8743 -Node: Other customization9462 -Node: Compiling Executing11932 -Node: Compile commands12667 -Node: Compiling Examples15405 -Node: No project files16237 -Node: Set compiler options21603 -Node: Set source search path23565 -Node: Use GNAT project file26018 -Node: Use multiple GNAT project files28792 -Node: Use a Makefile31512 -Node: Compiler errors32827 -Node: Project files33644 -Node: Project file overview34671 -Node: Project file variables36199 -Node: Moving Through Ada Code39829 -Node: Identifier completion42528 -Node: Indentation43490 -Node: Statement skeletons47542 -Node: Aligning code48752 -Node: Automatic casing49697 -Node: Comment Handling52401 -Node: Key summary52920 -Node: Developer overview55547 -Node: Directory structure55887 -Node: Package organization59373 -Node: Ada mode59608 -Node: gpr mode61804 -Node: GNAT core62087 -Node: Wisi63033 -Node: OpenToken64000 -Node: ELPA64602 -Node: GNU Free Documentation License65212 -Node: Index90373 +Node: Overview2576 +Node: Installation3787 +Node: gnatinspect4675 +Node: Upgrading5636 +Node: Customization6210 +Node: Non-standard file names6692 +Node: Other compiler8533 +Node: Other cross-reference9112 +Node: Other customization9831 +Node: Compiling Executing12301 +Node: Compile commands13036 +Node: Compiling Examples15774 +Node: No project files16606 +Node: Set compiler options21972 +Node: Set source search path23934 +Node: Use GNAT project file26387 +Node: Use multiple GNAT project files29161 +Node: Use a Makefile31881 +Node: Compiler errors33196 +Node: Project files34013 +Node: Project file overview35040 +Node: Project file variables36568 +Node: Moving Through Ada Code40198 +Node: Identifier completion42897 +Node: Indentation43859 +Node: Statement skeletons47911 +Node: Aligning code49696 +Node: Automatic casing50641 +Node: Comment Handling53345 +Node: Key summary53864 +Node: Developer overview56491 +Node: Directory structure56831 +Node: Package organization60317 +Node: Ada mode60552 +Node: gpr mode62748 +Node: GNAT core63031 +Node: Wisi63977 +Node: OpenToken64944 +Node: ELPA65546 +Node: GNU Free Documentation License66156 +Node: Index91317  End Tag Table