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

Home » Public Forums » archive » Re: changing editors?
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: changing editors? [message #31279 is a reply to message #31242] Mon, 24 June 2002 14:50 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"tim gunter" <tim.gunter@bioscrypt.com> wrote in message
news:f924816d.0206240946.323f49b@posting.google.com...

> I'm running IDL 5.4 on Windows 2k. I have been trying to figure out
> if there is a way to change from the default IDL editor to a
> different one, such as gvim.

No there isn't.

I use XEmacs with idlwave mode for most of my IDL editing on
windows. What I have done is this:

- Write a macro to open the current file in my editor and attach it
to a handy key combination The macro command is something like

spawn, 'xemacs "%f"'

(Actually it's not exactly that because I have wrapped the command
to spawn xemacs in a procedure, but you get the idea. I'm not sure
if the quoting is right.)

- Open each .pro file I want to edit in the IDLDE editor with the
.edit executive command.

- Run macro and edit file in xemacs.

- When finished editing, close file and return to IDLDE. IDLDE sees
that the file has been modified and asks whether to reload it. Say
yes! Then compile.

It's messy, but it works as long as you don't make changes in both
editors at once.

> Also it appears there is no way to run IDL from the command line
> under windows, is there any way to do so?

No. At least, you can launch IDLDE from a command line if you want,
but it's the same window-mode application as you get from clicking on
the shortcut. There's no console-mode IDL.

There's no technical reason why a console-mode IDL executable doesn't
exist. It would be handy with (X)Emacs idlwave mode. If enough users
hassled RSI they *could* release one, but don't hold your breath.

> Any help on getting IDL to work better with command line utils (in
> particular cygwin) would be helpful.

I use both Cygwin & IDL a great deal. Spawning Cygwin commands from
IDL is straightforward. Getting information from IDL to Cygwin
involves kludges: write a file in IDL, switch to command shell and
read file, that sort of thing.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)


>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: map projection question
Next Topic: Re: switching PS device from color to b/w?

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

Current Time: Sun Oct 12 11:21:07 PDT 2025

Total time taken to generate the page: 1.37529 seconds