Home »
Public Forums »
archive »
Re: idlwave mode for emacs/xemacs?
Re: idlwave mode for emacs/xemacs? [message #16429] |
Tue, 27 July 1999 00:00 |
luthi
Messages: 20 Registered: March 1999
|
Junior Member |
|
|
Kristine
I have IDLWAVE mode perfectly working with emacs 20.3. Have you followed the
installation instructions, especially the additions to your ~/.emacs file.
This should look somewhat like the following lines of code, but I guess that
only the first 3 lines are essential for IDLWAVE-mode to work, the rest is for
convenience.
Hope this helps!
Cheers Martin
;; idlwave- mode
(autoload 'idlwave-mode "idlwave" "IDLWAVE Mode" t)
(autoload 'idlwave-shell "idlwave-shell" "IDLWAVE Shell" t)
(setq auto-mode-alist (cons '("\\.pro\\'" . idlwave-mode) auto-mode-alist))
(add-hook 'idlwave-mode-hook
(function
(lambda ()
(setq ; Set options here
idlwave-expand-generic-end t)
(define-key idlwave-mode-map
[M-RET]
'hippie-expand)
)))
(add-hook 'idlwave-shell-mode-hook
(function
(lambda ()
(setq ; Set options here
idlwave-shell-prompt-pattern "^WAVE> " ; see def below
idlwave-shell-overlay-arrow "=>"
idlwave-shell-fix-inserted-breaks t
)
;; Run other functions here
(idlwave-action-and-binding idlwave-sysvar '(capitalize-word 1) t)
)))
;; These variables are used by `idlwave-shell' before the hook is run. So
;; they must be set explicitly before calling `idlwave-shell'.
(setq idlwave-shell-explicit-file-name "/net/artemis2/soft/graf/vni/wave/bin/wave")
(setq idlwave-shell-process-name "/net/artemis2/soft/graf/vni/wave/bin/wave")
(autoload 'idlwave-shell "idlwave-shell" "Run IDL as an inferior process" t)
--
============================================================
Martin Luethi Tel. +41 1 632 40 92
Glaciology Section Fax. +41 1 632 11 92
VAW ETH Zuerich
CH-8092 Zuerich mail luthi@vaw.baum.ethz.ch
Switzerland
============================================================
|
|
|
Current Time: Fri Oct 10 23:09:56 PDT 2025
Total time taken to generate the page: 0.08022 seconds