comparison man/ada-mode.texi @ 38881:ef5cc490984d

Fix a few minor markup errors.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 20 Aug 2001 18:46:16 +0000
parents c656fc177008
children 88b1d99e92ad
comparison
equal deleted inserted replaced
38880:d8ab01673218 38881:ef5cc490984d
473 The first project file that is selected in a given directory becomes the 473 The first project file that is selected in a given directory becomes the
474 default project file for this directory and is used implicitly for other 474 default project file for this directory and is used implicitly for other
475 sources unless specified otherwise by the user. 475 sources unless specified otherwise by the user.
476 476
477 @item 477 @item
478 look for the corresponding .ali file in the @code{obj_dir} defined 478 look for the corresponding @samp{.ali} file in the @code{obj_dir} defined
479 in the project file. If this file can not be found, emacs proposes to 479 in the project file. If this file can not be found, emacs proposes to
480 compile the source using the @code{comp_cmd} defined in the project file 480 compile the source using the @code{comp_cmd} defined in the project file
481 in order to create the ali file. 481 in order to create the ali file.
482 482
483 @item 483 @item
484 when cross referencing is requested, the .ali file is parsed to 484 when cross referencing is requested, the @samp{.ali} file is parsed to
485 determine the file and line of the identifier definition. It is 485 determine the file and line of the identifier definition. It is
486 possible for the .ali file to be older than the source file, in which 486 possible for the @samp{.ali} file to be older than the source file,
487 case it will be recompiled if the variable @code{ada-xref-create-ali} is 487 in which case it will be recompiled if the variable
488 set, otherwise the reference is searched in the obsolete ali file with 488 @code{ada-xref-create-ali} is set, otherwise the reference is searched
489 possible inaccurate results. 489 in the obsolete ali file with possible inaccurate results.
490 490
491 @item 491 @item
492 look for the file containing the declaration using the source 492 look for the file containing the declaration using the source
493 path @code{src_dir} defined in the project file. Put the cursor at the 493 path @code{src_dir} defined in the project file. Put the cursor at the
494 correct position and display this new cursor. 494 correct position and display this new cursor.
619 619
620 This is a very fast way to do completion, and the casing of words will 620 This is a very fast way to do completion, and the casing of words will
621 also be respected. 621 also be respected.
622 622
623 The second method is specific to Ada buffer, and even to users of the 623 The second method is specific to Ada buffer, and even to users of the
624 Gnat compiler. Emacs will search the cross-information found in the .ali 624 Gnat compiler. Emacs will search the cross-information found in the
625 files generated by Gnat for possible completions. 625 @samp{.ali} files generated by Gnat for possible completions.
626 626
627 The main advantage is that this completion is more accurate: only 627 The main advantage is that this completion is more accurate: only
628 existing identifier will be suggested, you don't need to have a file 628 existing identifier will be suggested, you don't need to have a file
629 opened that already contains this identifiers, @enddots{} 629 opened that already contains this identifiers, @enddots{}
630 630
1006 One of the variables you can set in your project file, 1006 One of the variables you can set in your project file,
1007 @code{cross_prefix}, indicates whether you are using a cross-compilation 1007 @code{cross_prefix}, indicates whether you are using a cross-compilation
1008 environment, and if yes for which target. The default command used for 1008 environment, and if yes for which target. The default command used for
1009 compilation will add this @code{cross_prefix} in front of the name: 1009 compilation will add this @code{cross_prefix} in front of the name:
1010 @code{gcc} will become @code{cross_prefix}-@code{gcc}, @code{gnatmake} 1010 @code{gcc} will become @code{cross_prefix}-@code{gcc}, @code{gnatmake}
1011 will become @code{cross_prefix}-@code{gnatmake}, ... 1011 will become @code{cross_prefix}-@code{gnatmake}, @enddots{}
1012 1012
1013 This will also modify the way your application is run and debugged, 1013 This will also modify the way your application is run and debugged,
1014 although this is not implemented at the moment. 1014 although this is not implemented at the moment.
1015 1015
1016 Here are the commands for building and using an Ada application 1016 Here are the commands for building and using an Ada application