IDLWAVE in a Nutshell
*********************
Editing IDL Programs
--------------------
<TAB> Indent the current line relative to context.
`M-C-\' Re-indent all lines in the current region.
`M-<RET>' Start a continuation line. Or split the current line at
point.
`M-q' Fill the current comment paragraph.
`C-c ?' Display calling sequence, keywords of the procedure/function
call at point.
`M-?' Context sensitive online help.
`M-<TAB>' Complete a procedure name, function name or keyword in the
buffer.
`C-c C-i' Update IDLWAVE's knowledge about functions and procedures.
`C-c C-v' Find the source code of a procedure/function.
`C-c C-h' Insert a standard documentation header.
`C-c C-m' Insert a new timestamp and history item in the documentation
header.
Running the IDLWAVE Shell, Debugging Programs
---------------------------------------------
`C-c C-s' Start IDL as a subprocess and/or switch to the interaction
buffer.
`M-p' Cycle back through IDL command history matching command line
input.
`M-n' Cycle forward.
`M-<TAB>' Complete a procedure name, function name or keyword in the
shell buffer.
`C-c C-d Save and compile the source file in the current buffer.
C-c'
`C-c C-d Goto next syntax error.
C-x'
`C-c C-d Set a breakpoint at the current source line.
C-b'
`C-c C-d Clear the current breakpoint.
C-d'
`C-c C-d Ask IDL to print the value of the expression near point.
C-p'
Commonly used Settings in `.emacs'
----------------------------------
;; Change the indentation preferences
(setq idlwave-main-block-indent 2 ; default 0
idlwave-block-indent 2 ; default 4
idlwave-end-offset -2) ; default -4
;; Pad some operators with spaces
(setq idlwave-do-actions t
idlwave-surround-by-blank t)
;; Syntax Highlighting
(add-hook 'idlwave-mode-hook 'turn-on-font-lock)
;; Automatically start the shell when needed
(setq idlwave-shell-automatic-start t)
;; Bind debugging commands with CONTROL and SHIFT modifiers
(setq idlwave-shell-debug-modifiers '(control shift))
;; Where are the online help files?
(setq idlwave-help-directory "~/.idlwave")