Re: changing editors? [message #31242 is a reply to message #31241] |
Wed, 26 June 2002 16:24   |
tim.gunter
Messages: 2 Registered: June 2002
|
Junior Member |
|
|
"Mark Hadfield" <m.hadfield@niwa.co.nz> wrote in message news:<af848b$ir6$1@newsreader.mailgate.org>...
> I use XEmacs with idlwave mode for most of my IDL editing on
> windows. What I have done is this:
emacs??? uuueeeeeewwwwwwwwww!!!
;)
> - 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.
i havent tried the spawn and .edit technique.
i played around some with simply opening the file in gvim, and editing
it, but i had trouble getting IDLDE to recognize that the file had
been modified. in visual studio, i am able to have a file open in
visual studio and gvim, and both do a pretty good job of recognizing
when the other has modified the file. not ideal, but acceptable.
> 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.
i would find it _extremely_ useful. especially if i could use use IDL
in combination with cygwin and bash to script IDL programs. i cant
imagine it would take much development effort on RSIs part to release
a windows command line IDL utility of some sort. they already provide
one on UNIX platforms.
> 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.
yes, cygwin is a godsend. one of the most useful pieces of software i
have ever had the joy of using. windows is unusable to me without it.
thanks for your suggestions, ill see what i can rig up.
--tim
|
|
|