comparison man/idlwave.texi @ 77578:4211034c233f

Minor updates for IDLWAVE 6.1.
author J.D. Smith <jdsmith@as.arizona.edu>
date Fri, 27 Apr 2007 18:49:47 +0000
parents 88224dc74061
children 02b9a9aa5b0c 70bf32a0f523
comparison
equal deleted inserted replaced
77577:9eb9feafec58 77578:4211034c233f
7 * IDLWAVE: (idlwave). Major mode and shell for IDL files. 7 * IDLWAVE: (idlwave). Major mode and shell for IDL files.
8 @end direntry 8 @end direntry
9 @synindex ky cp 9 @synindex ky cp
10 @syncodeindex vr cp 10 @syncodeindex vr cp
11 @syncodeindex fn cp 11 @syncodeindex fn cp
12 @set VERSION 6.0 12 @set VERSION 6.1
13 @set EDITION 6.0 13 @set EDITION 6.1
14 @set IDLVERSION 6.2 14 @set IDLVERSION 6.3
15 @set NSYSROUTINES 1966 15 @set NSYSROUTINES 4346
16 @set DATE Feb, 2006 16 @set DATE April, 2007
17 @set AUTHOR J.D. Smith & Carsten Dominik 17 @set AUTHOR J.D. Smith & Carsten Dominik
18 @set AUTHOREMAIL jdsmith@@as.arizona.edu
19 @set MAINTAINER J.D. Smith 18 @set MAINTAINER J.D. Smith
20 @set MAINTAINEREMAIL jdsmith@@as.arizona.edu
21 @set IDLWAVEHOMEPAGE http://idlwave.org/
22 @c %**end of header 19 @c %**end of header
23 @finalout 20 @finalout
24 21
25 @ifinfo 22 @ifinfo
26 This file documents IDLWAVE, a major mode for editing IDL files with 23 This file documents IDLWAVE, a major mode for editing IDL files with
318 @tab Re-indent all lines in the current routine. 315 @tab Re-indent all lines in the current routine.
319 @item @kbd{C-u @key{TAB}} 316 @item @kbd{C-u @key{TAB}}
320 @tab Re-indent all lines in the current statement. 317 @tab Re-indent all lines in the current statement.
321 @item @kbd{M-@key{RET}} 318 @item @kbd{M-@key{RET}}
322 @tab Start a continuation line, splitting the current line at point. 319 @tab Start a continuation line, splitting the current line at point.
320 @item @kbd{M-;}
321 @tab Start new comment at line beginning or after code, or (un)comment
322 highlighted region.
323 @item @kbd{M-q} 323 @item @kbd{M-q}
324 @tab Fill the current comment paragraph. 324 @tab Fill the current comment paragraph.
325 @item @kbd{C-c ?} 325 @item @kbd{C-c ?}
326 @tab Display calling sequence and keywords for the procedure or function call 326 @tab Display calling sequence and keywords for the procedure or function call
327 at point. 327 at point.
352 @tab Cycle forward. 352 @tab Cycle forward.
353 @item @kbd{@key{TAB}} 353 @item @kbd{@key{TAB}}
354 @tab Complete a procedure name, function name or keyword in the shell buffer. 354 @tab Complete a procedure name, function name or keyword in the shell buffer.
355 @item @kbd{C-c C-d C-c} 355 @item @kbd{C-c C-d C-c}
356 @tab Save and compile the source file in the current buffer. 356 @tab Save and compile the source file in the current buffer.
357 @item @kbd{C-c C-d C-e}
358 @tab Compile and run the current region.
357 @item @kbd{C-c C-d C-x} 359 @item @kbd{C-c C-d C-x}
358 @tab Go to next syntax error. 360 @tab Go to next syntax error.
359 @item @kbd{C-c C-d C-v} 361 @item @kbd{C-c C-d C-v}
360 @tab Switch to electric debug mode. 362 @tab Switch to electric debug mode.
361 @item @kbd{C-c C-d C-b} 363 @item @kbd{C-c C-d C-b}
2952 line, call @code{idlwave-shell-execute-default-command-line} with a 2954 line, call @code{idlwave-shell-execute-default-command-line} with a
2953 prefix argument: @kbd{C-u C-c C-d C-y}. If no default command line has 2955 prefix argument: @kbd{C-u C-c C-d C-y}. If no default command line has
2954 been set (or you give two prefix arguments), the last command on the 2956 been set (or you give two prefix arguments), the last command on the
2955 @code{comint} input history is sent. 2957 @code{comint} input history is sent.
2956 2958
2959 @kindex C-c C-d C-e
2960 @cindex Compiling regions
2961 For quickly compiling and running the currently marked region as a main
2962 level program @kbd{C-c C-d C-e} (@code{idlwave-shell-run-region}) is
2963 very useful. A temporary file is created holding the contents of the
2964 current region (with @code{END} appended), and run from the shell.
2965
2957 @node Walking the Calling Stack, Electric Debug Mode, Compiling Programs, Debugging IDL Programs 2966 @node Walking the Calling Stack, Electric Debug Mode, Compiling Programs, Debugging IDL Programs
2958 @subsection Walking the Calling Stack 2967 @subsection Walking the Calling Stack
2959 @cindex Calling stack, walking 2968 @cindex Calling stack, walking
2960 2969
2961 While debugging a program, it can be very useful to check the context in 2970 While debugging a program, it can be very useful to check the context in
3437 @enumerate 3446 @enumerate
3438 3447
3439 @item 3448 @item
3440 It has a @emph{builtin list} with information about the routines IDL 3449 It has a @emph{builtin list} with information about the routines IDL
3441 ships with. IDLWAVE @value{VERSION} is distributed with a list of 3450 ships with. IDLWAVE @value{VERSION} is distributed with a list of
3442 @value{NSYSROUTINES} routines, reflecting IDL version 3451 @value{NSYSROUTINES} routines and object methods, reflecting IDL version
3443 @value{IDLVERSION}. As of IDL v6.2, the routine info is distributed 3452 @value{IDLVERSION}. As of IDL v6.2, the routine info is distributed
3444 directly with IDL in the form of an XML catalog which IDLWAVE scans. 3453 directly with IDL in the form of an XML catalog which IDLWAVE scans.
3445 Formerly, this list was created by scanning the IDL manuals to produce 3454 Formerly, this list was created by scanning the IDL manuals to produce
3446 the file @file{idlw-rinfo.el}. 3455 the file @file{idlw-rinfo.el}.
3447 3456
4060 talking to the IDL program. 4069 talking to the IDL program.
4061 4070
4062 Here is an example of the additional configuration needed for a Windows 4071 Here is an example of the additional configuration needed for a Windows
4063 system. I am assuming that IDLWAVE has been installed in 4072 system. I am assuming that IDLWAVE has been installed in
4064 @w{@samp{C:\Program Files\IDLWAVE}} and that IDL is installed in 4073 @w{@samp{C:\Program Files\IDLWAVE}} and that IDL is installed in
4065 @w{@samp{C:\RSI\IDL62}}. 4074 @w{@samp{C:\RSI\IDL63}}.
4066 4075
4067 @lisp 4076 @lisp
4068 ;; location of the lisp files (only needed if IDLWAVE is not part of 4077 ;; location of the lisp files (only needed if IDLWAVE is not part of
4069 ;; your default X/Emacs installation) 4078 ;; your default X/Emacs installation)
4070 (setq load-path (cons "c:/program files/IDLWAVE" load-path)) 4079 (setq load-path (cons "c:/program files/IDLWAVE" load-path))
4071 4080
4072 ;; The location of the IDL library directories, both standard, and your own. 4081 ;; The location of the IDL library directories, both standard, and your own.
4073 ;; note that the initial "+" expands the path recursively 4082 ;; note that the initial "+" expands the path recursively
4074 (setq idlwave-library-path 4083 (setq idlwave-library-path
4075 '("+c:/RSI/IDL55/lib/" "+c:/path/to/my/idllibs" )) 4084 '("+c:/RSI/IDL63/lib/" "+c:/path/to/my/idllibs" ))
4076 4085
4077 ;; location of the IDL system directory (try "print,!DIR") 4086 ;; location of the IDL system directory (try "print,!DIR")
4078 (setq idlwave-system-directory "c:/RSI/IDL62/") 4087 (setq idlwave-system-directory "c:/RSI/IDL63/")
4079 4088
4080 @end lisp 4089 @end lisp
4081 4090
4082 @noindent Furthermore, Windows sometimes tries to outsmart you --- make 4091 @noindent Furthermore, Windows sometimes tries to outsmart you --- make
4083 sure you check the following things: 4092 sure you check the following things: