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

Home » Public Forums » archive » IDLWAVE takes over
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLWAVE takes over [message #37142] Tue, 18 November 2003 05:14
Jack Saba is currently offline  Jack Saba
Messages: 30
Registered: January 1996
Member
I am running emacs on a pc, and using ange-ftp to edit files on our unix
machines. We do not have idl on the pc's, and I do not like the editor deciding
where to put text, how to handle tabs, etc. I do like the context highlighting,
and that's the only part of idlwave that seems to be usable in this situation
that I really want. Therefore, thanks to Carsten, I have the following in my
.emacs file:

;;;From Carsten: how to get only syntax highlighting. Posted to comp.emacs in
;;;response to my request.

(define-derived-mode idl-color-mode text-mode
"(IDL color mode)"
"IDLWAVE syntax-highlighting only mode"
(require 'font-lock)
(require 'idlwave)
(set (make-local-variable 'font-lock-defaults)
idlwave-font-lock-defaults)
(set-syntax-table idlwave-mode-syntax-table)
(turn-on-font-lock))
(add-to-list 'auto-mode-alist '("\\.pro" . idl-color-mode))


HOWEVER, since installing the latest version of IDLWAVE, a problem has shown up.
If I fire up IDL and edit a .pro file that is on the pc, emacs enters
idl-color-mode. When I connect to the unix machine and edit a file there, emacs
enters idlwave-mode, NOT idl-color-mode. After that, it used idlwave-mode rather
than idl-color-mode for any .pro files, whether on the pc or on the unix box.

Any suggestions for fixing this? Otherwise, I will go back to an older version.

Jack Saba
<jack.saba@gsfc.nasa.gov>
[Message index]
 
Read Message
Previous Topic: Re: Matlab Translations -- Was: filtering images in the fourier domain
Next Topic: Re: Advice on making a plot

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

Current Time: Wed Oct 08 17:38:28 PDT 2025

Total time taken to generate the page: 0.00434 seconds