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

Home » Public Forums » archive » Linux vs Win95
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: Linux vs Win95 [message #13754 is a reply to message #13239] Tue, 01 December 1998 00:00 Go to previous messageGo to previous message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
Karsten Rodenacker wrote:
>
> The thread has turned to emacs vs idlde.
>
> I'm also using (x)emacs on unix and idlde on NT, however I prefer xemacs
> (and the development under unix). Idl under the latter behaves IMHO more
> reasonable.
>
> Still I would appreciate to get some improvements of idl.el and
> idl-shell.el e.g. the color-coding of user and inbuilt procedures and a
> key for 'widget_control,/reset&heap_gc&close,/all&retall '.

You can add your own abbreviations to idl mode as follows:

In .emacs or wherever is being sourced... add something like this:

(setq idl-abbrev-start-char ".")
(add-hook 'idl-mode-hook
(function
(lambda ()
(font-lock-mode 1) ; font-lock mode
(fast-lock-mode 1)
(idl-auto-fill-mode 0) ; Turn off auto filling
(define-abbrev idl-mode-abbrev-table (concat idl-abbrev-start-char
"on"
) "obj_new()"
(idl-keyword-abbrev 1))
)))

You can add in whatever else you like into this hook too (see the
beginning of the idl.el file), and make as many abbrevs as suits you.
The thing to remember is that the number after "idl-keyword-abbrev" is
how many characters to move back from the end of the expansion after it
is performed.
Hope it helps.

As far as adding key command shortcuts to the idl command line, you can
use "define_key" in your startup file...

e.g.

define_key,'F3','widget_control,/reset&heap_gc&close ,/all&retall',/TERMINATE

Good Luck,

JD
--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: shade_surf - plots: scaling??
Next Topic: MOVIES USING MPEG_PUT

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

Current Time: Sun Oct 12 13:47:32 PDT 2025

Total time taken to generate the page: 1.52717 seconds