comparison doc/interpreter/emacs.txi @ 4167:aae05d51353c

[project @ 2002-11-12 02:52:50 by jwe]
author jwe
date Tue, 12 Nov 2002 02:52:51 +0000
parents 63c75bc3db82
children abbf63293766
comparison
equal deleted inserted replaced
4166:1297e388830f 4167:aae05d51353c
2 @c Written by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> on 1996/05/17. 2 @c Written by Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> on 1996/05/17.
3 @c Last updated by KH on 1997/07/31. 3 @c Last updated by KH on 1997/07/31.
4 @c This is part of the Octave manual. 4 @c This is part of the Octave manual.
5 @c For copying conditions, see the file gpl.texi. 5 @c For copying conditions, see the file gpl.texi.
6 6
7 @node Emacs, Grammar, Installation, Top 7 @node Emacs
8 @appendix Emacs Octave Support 8 @appendix Emacs Octave Support
9 9
10 The development of Octave code can greatly be facilitated using Emacs 10 The development of Octave code can greatly be facilitated using Emacs
11 with Octave mode, a major mode for editing Octave files which can e.g.@: 11 with Octave mode, a major mode for editing Octave files which can e.g.@:
12 automatically indent the code, do some of the typing (with Abbrev mode) 12 automatically indent the code, do some of the typing (with Abbrev mode)
33 * Using Octave Mode:: 33 * Using Octave Mode::
34 * Running Octave From Within Emacs:: 34 * Running Octave From Within Emacs::
35 * Using the Emacs Info Reader for Octave:: 35 * Using the Emacs Info Reader for Octave::
36 @end menu 36 @end menu
37 37
38 @node Installing EOS, Using Octave Mode, Emacs, Emacs 38 @node Installing EOS
39 @appendixsec Installing EOS 39 @appendixsec Installing EOS
40 40
41 The Emacs package EOS consists of the three files @file{octave-mod.el}, 41 The Emacs package EOS consists of the three files @file{octave-mod.el},
42 @file{octave-inf.el}, and @file{octave-hlp.el}. These files, or better 42 @file{octave-inf.el}, and @file{octave-hlp.el}. These files, or better
43 yet their byte-compiled versions, should be somewhere in your Emacs 43 yet their byte-compiled versions, should be somewhere in your Emacs
50 Otherwise, copy the three files from the @file{emacs} subdirectory of 50 Otherwise, copy the three files from the @file{emacs} subdirectory of
51 the Octave distribution to a place where Emacs can find them (this 51 the Octave distribution to a place where Emacs can find them (this
52 depends on how your Emacs was installed). Byte-compile them for speed 52 depends on how your Emacs was installed). Byte-compile them for speed
53 if you want. 53 if you want.
54 54
55 @node Using Octave Mode, Running Octave From Within Emacs, Installing EOS, Emacs 55 @node Using Octave Mode
56 @appendixsec Using Octave Mode 56 @appendixsec Using Octave Mode
57 57
58 If you are lucky, your sysadmins have already arranged everything so 58 If you are lucky, your sysadmins have already arranged everything so
59 that Emacs automatically goes into Octave mode whenever you visit an 59 that Emacs automatically goes into Octave mode whenever you visit an
60 Octave code file as characterized by its extension @file{.m}. If not, 60 Octave code file as characterized by its extension @file{.m}. If not,
352 bug report using @kbd{C-c C-b} (@code{octave-submit-bug-report}). This 352 bug report using @kbd{C-c C-b} (@code{octave-submit-bug-report}). This
353 automatically sets up a mail buffer with version information already 353 automatically sets up a mail buffer with version information already
354 added. You just need to add a description of the problem, including a 354 added. You just need to add a description of the problem, including a
355 reproducible test case and send the message. 355 reproducible test case and send the message.
356 356
357 @node Running Octave From Within Emacs, Using the Emacs Info Reader for Octave, Using Octave Mode, Emacs 357 @node Running Octave From Within Emacs
358 @appendixsec Running Octave From Within Emacs 358 @appendixsec Running Octave From Within Emacs
359 359
360 The package @file{octave} provides commands for running an inferior 360 The package @file{octave} provides commands for running an inferior
361 Octave process in a special Emacs buffer. Use 361 Octave process in a special Emacs buffer. Use
362 @lisp 362 @lisp
463 make sure that @code{inferior-octave-prompt} matches them. 463 make sure that @code{inferior-octave-prompt} matches them.
464 Otherwise, @emph{nothing} will work, because Emacs will have no idea 464 Otherwise, @emph{nothing} will work, because Emacs will have no idea
465 when Octave is waiting for input, or done sending output. 465 when Octave is waiting for input, or done sending output.
466 @end quotation 466 @end quotation
467 467
468 @node Using the Emacs Info Reader for Octave, , Running Octave From Within Emacs, Emacs 468 @node Using the Emacs Info Reader for Octave
469 @appendixsec Using the Emacs Info Reader for Octave 469 @appendixsec Using the Emacs Info Reader for Octave
470 470
471 You can also set up the Emacs Info reader for dealing with the results 471 You can also set up the Emacs Info reader for dealing with the results
472 of Octave's @samp{help -i}. For this, the package @file{gnuserv} needs 472 of Octave's @samp{help -i}. For this, the package @file{gnuserv} needs
473 to be installed, which unfortunately still does not come with GNU Emacs 473 to be installed, which unfortunately still does not come with GNU Emacs