~ubuntu-branches/ubuntu/karmic/emacs-snapshot/karmic

« back to all changes in this revision

Viewing changes to doc/misc/ada-mode.texi

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-04-05 09:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090405091430-nw07lynn2arotjbe
Tags: upstream-20090320
ImportĀ upstreamĀ versionĀ 20090320

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
@copying
6
6
Copyright @copyright{} 1999, 2000, 2001, 2002, 2003, 2004,
7
 
2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
7
2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
8
8
 
9
9
@quotation
10
10
Permission is granted to copy, distribute and/or modify this document
11
 
under the terms of the GNU Free Documentation License, Version 1.2 or
 
11
under the terms of the GNU Free Documentation License, Version 1.3 or
12
12
any later version published by the Free Software Foundation; with no
13
13
Invariant Sections, with the Front-Cover texts being ``A GNU Manual'',
14
14
and with the Back-Cover Texts as in (a) below.  A copy of the license
37
37
@insertcopying
38
38
@end titlepage
39
39
 
40
 
@c fixme; title page doesn't show up in ada-mode.info; why bother with
41
 
@c it?
 
40
@contents
42
41
 
43
42
@node Top, Overview, (dir), (dir)
44
43
 
 
44
@ifnottex
 
45
@insertcopying
 
46
@end ifnottex
 
47
 
45
48
@menu
46
49
* Overview::
47
50
* Installation::                Installing Ada mode on your system
373
376
 
374
377
Note that Ada mode project files @samp{*.adp} are different than GNAT
375
378
compiler project files @samp{*.gpr}. However, Emacs Ada mode can use a
376
 
GNAT project project file to specify the project directories. If no
 
379
GNAT project file to specify the project directories. If no
377
380
other customization is needed, a GNAT project file can be used without
378
381
an Emacs Ada mode project file.
379
382
 
749
752
To fix the error, change the line to be
750
753
 
751
754
@example
752
 
    Ada.Text_IO.Put_Line ("hello from hello.adb"):
 
755
    Ada.Text_IO.Put_Line ("hello from hello.adb");
753
756
@end example
754
757
 
755
758
Now invoke @key{Ada | Show main}; this displays @file{Ada mode main: hello}.
827
830
the current file.
828
831
 
829
832
@item
830
 
Invoke @key{Ada | Project | Edit}, edit @code{main} and
831
 
@code{main}, and click @key{[save]}
 
833
Invoke @key{Ada | Project | Edit}, edit @code{main}, and click @key{[save]}
832
834
 
833
835
@item
834
836
Invoke @key{Ada | Project | Load}, and load a project file that specifies @code{main}
1349
1351
@end table
1350
1352
 
1351
1353
Ada mode allows you to define exceptions to these rules, in a file
1352
 
specified by the variable variable @code{ada-case-exception-file}
 
1354
specified by the variable @code{ada-case-exception-file}
1353
1355
(default @file{~/.emacs_case_exceptions}). Each line in this file
1354
1356
specifies the casing of one word or word fragment. Comments may be
1355
1357
included, separated from the word by a space.
1521
1523
 
1522
1524
@printindex fn
1523
1525
 
1524
 
@contents
1525
1526
@bye
1526
1527
 
1527
1528
@ignore