comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: idlwave mode for emacs/xemacs?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: idlwave mode for emacs/xemacs? [message #16429] Tue, 27 July 1999 00:00
luthi is currently offline  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
============================================================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: memory allocation for structure arrays
Next Topic: anstrom

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:24:24 PDT 2025

Total time taken to generate the page: 0.41410 seconds