Re: IDLWAVE takes over [message #37039] |
Thu, 20 November 2003 11:00  |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Thu, 20 Nov 2003 08:21:33 -0700, Jack Saba wrote:
> 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.
> 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.
Thanks Jack. If you want TAB to behave as it does in text mode, you can
use 'indent-relative instead of 'idlwave-hard-tab in the above. Just to
sample a tiny fraction of what you'd be missing, stick cursor on a routine
name and say "C-c ?".
Good luck,
JD
P.S. idlwave.org is down just now with some domain troubles. I expect it
to be resolved soon.
|
|
|