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

Home » Public Forums » archive » Question on using Emacs IDL-shell support with Wave 6.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
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 Go to previous message
chase is currently offline  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
[Message index]
 
Read Message
Read Message
Previous Topic: File Listings
Next Topic: OPI

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

Current Time: Sat Oct 11 03:29:40 PDT 2025

Total time taken to generate the page: 1.49077 seconds