Question on using Emacs IDL-shell support with Wave 6.0 [message #6847] |
Mon, 26 August 1996 00:00  |
Jim O'connor
Messages: 7 Registered: March 1996
|
Junior Member |
|
|
I've been using the Emacs wave-mode.el supplied with PV-Wave 6.0 for
editing Wave code. Its nice, but I'd like to try Chris Chase's IDL mode
and IDL shell, to see if it works for Wave.
I've gotten the idl.el mode to work, but not idl-shell.el. I get a
"Searching for program: No such file or directory, idl".
Here's what I added to my .emacs file:
(setq load-path (cons "/net/fwhre13/users/joconnor/pv/emacs_support"
load-path))
(autoload 'idl-mode "idl" "Major mode for editing IDL/WAVE CL .pro
files" t)
(autoload 'idl-shell "idl-shell" "Run IDL/PV-Wave as an inferior
process" t)
(setq auto-mode-alist (append '(("\\.pro$" . idl-mode))
auto-mode-alist))
Both idl-shell.el and idl.el are in the emacs_support directory given on
the first line.
Has anyone come across this particular problem?
--
Jim
|
|
|
Re: Question on using Emacs IDL-shell support with Wave 6.0 [message #6938 is a reply to message #6847] |
Thu, 29 August 1996 00:00  |
chase
Messages: 62 Registered: May 1993
|
Member |
|
|
>>>> > "Jim" == Jim O'connor <joconnor@ftw.mot.com> writes:
In article <322206EB.665B@ftw.mot.com> Jim O'connor <joconnor@ftw.mot.com> writes:
Jim> I've been using the Emacs wave-mode.el supplied with PV-Wave 6.0 for
Jim> editing Wave code. Its nice, but I'd like to try Chris Chase's IDL mode
Jim> and IDL shell, to see if it works for Wave.
I have not used PV-Wave for a couple years. You should be able to get
the basic functionality of idl-shell.el to work with Wave, but all the
debugging code would not work without a lot of customization.
Jim> I've gotten the idl.el mode to work, but not idl-shell.el. I get a
Jim> "Searching for program: No such file or directory, idl".
Do you want to run IDL or Wave?
Jim> Here's what I added to my .emacs file:
Jim> (setq load-path (cons "/net/fwhre13/users/joconnor/pv/emacs_support"
Jim> load-path))
Jim> (autoload 'idl-mode "idl" "Major mode for editing IDL/WAVE CL .pro
Jim> files" t)
If you want to run Wave, replace "idl" with whatever the pvwave
command is on your system. If pvwave is not in your default path
then you will have to use the full pathname instead of just the
command name.
Jim> (autoload 'idl-shell "idl-shell" "Run IDL/PV-Wave as an inferior
Jim> process" t)
Jim> (setq auto-mode-alist (append '(("\\.pro$" . idl-mode))
Jim> auto-mode-alist))
You will need something like the following in your .emacs:
(add-hook 'idl-shell-mode-hook
(function
(lambda ()
(setq idl-shell-prompt-pattern "^WAVE> ") ; set to your wave prompt
)))
;; replace wave with the appropriate command name using an absolute
;; path if necessary
(setq idl-shell-explicit-file-name "wave")
(setq idl-shell-process-name "wave")
Hopefully that will get idl-shell running with pvwave. But all the
breakpoint stuff will be broken. That would require a lot of work
since pvwave and idl have diverged a lot (I had to modify idl-shell.el
just to get the breakpoint stuff to work with the changes from IDL
version 3 to version 4.) Getting it to work with pvwave requires
another volunteers effort since I no longer work with pvwave.
Good luck.
By the way, are there people successfully using idl-shell.el under
xemacs? I have only used it briefly under xemacs.
Chris
--
===============================
Bldg 24-E188
The Applied Physics Laboratory
The Johns Hopkins University
Laurel, MD 20723-6099
(301)953-6000 x8529
chris.chase@jhuapl.edu
|
|
|