]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/ada-mode/ada-mode.info
ada-mode 5.1.3, wisi 1.0.4
[gnu-emacs-elpa] / packages / ada-mode / ada-mode.info
index ec4d58e6a2c2920b83140076dae4e0e66ce4ca3a..91db9d0c5d224f3127c49c835236f8f2a6f0c54a 100644 (file)
@@ -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::
@@ -129,18 +129,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
+
 \1f
 File: ada-mode.info,  Node: Upgrading,  Prev: gnatinspect,  Up: Installation
 
@@ -1339,10 +1344,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 +1366,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.
 
 \1f
 File: ada-mode.info,  Node: Aligning code,  Next: Automatic casing,  Prev: Statement skeletons,  Up: Top
@@ -2395,46 +2412,46 @@ Index
 \1f
 Tag Table:
 Node: Top\7f945
-Node: Overview\7f2508
-Node: Installation\7f3719
-Node: gnatinspect\7f4533
-Node: Upgrading\7f5267
-Node: Customization\7f5841
-Node: Non-standard file names\7f6323
-Node: Other compiler\7f8164
-Node: Other cross-reference\7f8743
-Node: Other customization\7f9462
-Node: Compiling Executing\7f11932
-Node: Compile commands\7f12667
-Node: Compiling Examples\7f15405
-Node: No project files\7f16237
-Node: Set compiler options\7f21603
-Node: Set source search path\7f23565
-Node: Use GNAT project file\7f26018
-Node: Use multiple GNAT project files\7f28792
-Node: Use a Makefile\7f31512
-Node: Compiler errors\7f32827
-Node: Project files\7f33644
-Node: Project file overview\7f34671
-Node: Project file variables\7f36199
-Node: Moving Through Ada Code\7f39829
-Node: Identifier completion\7f42528
-Node: Indentation\7f43490
-Node: Statement skeletons\7f47542
-Node: Aligning code\7f48752
-Node: Automatic casing\7f49697
-Node: Comment Handling\7f52401
-Node: Key summary\7f52920
-Node: Developer overview\7f55547
-Node: Directory structure\7f55887
-Node: Package organization\7f59373
-Node: Ada mode\7f59608
-Node: gpr mode\7f61804
-Node: GNAT core\7f62087
-Node: Wisi\7f63033
-Node: OpenToken\7f64000
-Node: ELPA\7f64602
-Node: GNU Free Documentation License\7f65212
-Node: Index\7f90373
+Node: Overview\7f2576
+Node: Installation\7f3787
+Node: gnatinspect\7f4601
+Node: Upgrading\7f5562
+Node: Customization\7f6136
+Node: Non-standard file names\7f6618
+Node: Other compiler\7f8459
+Node: Other cross-reference\7f9038
+Node: Other customization\7f9757
+Node: Compiling Executing\7f12227
+Node: Compile commands\7f12962
+Node: Compiling Examples\7f15700
+Node: No project files\7f16532
+Node: Set compiler options\7f21898
+Node: Set source search path\7f23860
+Node: Use GNAT project file\7f26313
+Node: Use multiple GNAT project files\7f29087
+Node: Use a Makefile\7f31807
+Node: Compiler errors\7f33122
+Node: Project files\7f33939
+Node: Project file overview\7f34966
+Node: Project file variables\7f36494
+Node: Moving Through Ada Code\7f40124
+Node: Identifier completion\7f42823
+Node: Indentation\7f43785
+Node: Statement skeletons\7f47837
+Node: Aligning code\7f49622
+Node: Automatic casing\7f50567
+Node: Comment Handling\7f53271
+Node: Key summary\7f53790
+Node: Developer overview\7f56417
+Node: Directory structure\7f56757
+Node: Package organization\7f60243
+Node: Ada mode\7f60478
+Node: gpr mode\7f62674
+Node: GNAT core\7f62957
+Node: Wisi\7f63903
+Node: OpenToken\7f64870
+Node: ELPA\7f65472
+Node: GNU Free Documentation License\7f66082
+Node: Index\7f91243
 \1f
 End Tag Table