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

Home » Public Forums » archive » Re: 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
Re: IDLWAVE takes over [message #37057 is a reply to message #37039] Thu, 20 November 2003 07:21 Go to previous messageGo to previous message
Jack Saba is currently offline  Jack Saba
Messages: 30
Registered: January 1996
Member
JD Smith wrote:

> On Tue, 18 Nov 2003 06:14:17 -0700, Jack Saba wrote:
>
>> 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.
>> ...
>> 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.
>
>
> IDLWAVE taking over... I like the sound of that.
>
> This is a simple case of "you can't please all of the people, all of
> the time". A request was put in to have ".pro" files enter
> idlwave-mode automatically when it's intalled as an XEmacs package,
> which gathers up these snippets and sets them automatically for the
> user. Hence
>
> ;;;###autoload
> (add-to-list 'auto-mode-alist '("\\.[Pp][Rr][Oo]\\'" . idlwave-mode))
>
> was added. The problem is, your add-to-list is happening earlier than
> mine, and thus mine wins. You might get into IDL color mode once, but
> after that, IDLWAVE will win.
>
> You can add to your .emacs:
>

JD,

Thank you. In the end I decided to go with

> (add-hook 'idlwave-load-hook
> (lambda ()
> (let ((list auto-mode-alist) var)
> (while (setq var (car list))
> (if (eq (cdr var) 'idlwave-mode)
> (setcdr var 'idl-color-mode))
> (setq list (cdr list))))))
>
> to go through and stamp out all instances of idlwave-mode in favor of
> idl-color-mode.

I tried

>
> (add-hook 'idlwave-mode-hook
> (lambda ()
> (local-set-key [tab] 'idlwave-hard-tab)))

> This will give you all the power of IDLWAVE, except for the magic of
> the TAB key.

but that did a couple of things I didn't like, such as using hard tab rather
than text tab. I really DON'T want the program to do any of the alignment, or
completion or .... Perhaps I could get used to that with time, but I find almost
all of that extremely distracting.

I hit the SEND key on the original message before I intended to, so let me say
now that, even with the minimal use I make of idlwave, I find it extremely
useful, and very much appreciate the work Carsten and JD and others put into it.

Jack Saba
<jack.saba@gsfc.nasa.gov>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDLWave Reference Card?
Next Topic: Re: Vector comparison.

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

Current Time: Sat Oct 11 08:02:11 PDT 2025

Total time taken to generate the page: 0.71997 seconds