Emacs-19 mode for IDL [message #2953] |
Sat, 22 October 1994 04:28  |
ob10001
Messages: 2 Registered: October 1994
|
Junior Member |
|
|
Dear all:
I am looking for an Emacs-19 mode for IDL, mainly to facilitate
indentation etc. I am using Emacs version 19.26.1.
Thanks, Oliver.
------------------------------------------------------------ -------------------
oliver buhler ob10001@amtp.cam.ac.uk
dept. applied maths + theoretical physics
university of cambridge, england
|
|
|
|
Re: Emacs-19 mode for IDL [message #3030 is a reply to message #2953] |
Wed, 26 October 1994 17:01  |
chase
Messages: 62 Registered: May 1993
|
Member |
|
|
>>>> > "HM" == Hans-Martin Adorf <adorf@eso.org> writes:
In article <adorf-2410941457160001@st53.hq.eso.org> adorf@eso.org (Hans-Martin Adorf) writes:
HM> In article <OB10001.94Oct22122836@atm.amtp.cam.ac.uk>,
HM> ob10001@atm.amtp.cam.ac.uk (Oliver B\"uhler) wrote:
>> I am looking for an Emacs-19 mode for IDL, mainly to facilitate
>> indentation etc. I am using Emacs version 19.26.1.
HM> There is a file idl.el implementing an IDL Emacs mode (author: Chris
HM> Chase, chase@jackson.jhuapl.edu). Also there is an idl-shell.el file,
HM> which runs IDL as an inferior process. They both cooperate, i.e. you can
HM> edit an IDL file in one buffer, select some IDL-statements, and then
HM> submit them to the IDL process (running in the other buffer) for immediate
HM> execution without leaving Emacs.
I have updates to both idl.el and idl-shell.el. You can find these
via anonymous FTP at eos.crseo.ucsb.edu in directory /pub/idl.
I have not been able to put the files at fermi.jhuapl.edu yet. fermi
appears to be down.
User visible changes to idl.el are very small. All of the automatic
expanding, padding, action, capitalization features are turned off by
default.
idl-shell.el should be more robust when working with breakpoints and
finding syntax errors. By request, I added idl-shell-run-region which
writes the current region to a temporary file (terminating it with and
"end" if necessary) and then issues a ".run" for the file. It is on
the key "C-c C-d C-e" (i.e., `evaluate')and in the menu.
I have found idl-shell.el to be very useful. I always run IDL inside
emacs for interactive work unless I want to run a batch IDL job. I
use the "C-c C-d C-c" command very frequently as I interate on code
(the corresponding command is idl-shell-save-and-compile which saves
the file and then issues a ".run" for it).
However, I suspect that idl-shell.el still has lots of bugs. I still
feel that it is in a developmental stage. So let me know what
problems you find with idl-shell.el and what I can do to improve it.
Send bug reports and comments to me.
Chris Chase
--
===============================
Bldg 24-E188
The Applied Physics Laboratory
The Johns Hopkins University
Laurel, MD 20723-6099
(301)953-6000 x8529
chris.chase@jhuapl.edu
|
|
|
Re: Emacs-19 mode for IDL [message #3038 is a reply to message #2953] |
Wed, 26 October 1994 01:04  |
xmosa
Messages: 3 Registered: August 1994
|
Junior Member |
|
|
In article <adorf-2410941457160001@st53.hq.eso.org>, adorf@eso.org (Hans-Martin Adorf) writes:
|>Newsgroups: comp.lang.idl-pvwave
|>Path: maya.dei.unipd.it!ghost.dsi.unimi.it!univ-lyon1.fr!jussieu.f r!math.ohio-state.edu!howland.reston.ans.net!EU.net!Germany. EU.net!eso!st53.hq.eso.org!user
|>From: adorf@eso.org (Hans-Martin Adorf)
|>Subject: Re: Emacs-19 mode for IDL
|>
|>In article <OB10001.94Oct22122836@atm.amtp.cam.ac.uk>,
|>ob10001@atm.amtp.cam.ac.uk (Oliver B\"uhler) wrote:
|>
|>> I am looking for an Emacs-19 mode for IDL, mainly to facilitate
|>> indentation etc. I am using Emacs version 19.26.1.
|>
|>
|>If you locate the source, please post the URL here, so that we all can
|>share the knowledge.
|>
|>Regards
|>Hans-Martin Adorf
From the IDL FAQ:
T08. Is there a major mode for editing IDL code in Emacs?
Yes.
Chris Chase (chase@jackson.jhuapl.edu) has written idl.el for
editing IDL code. He has also written idl-shell.el for running IDL as an
inferior process under emacs. These can be found at:
eos.crseo.ucsb.edu:pub/idl/idl.el
eos.crseo.ucsb.edu:pub/idl/idl-shell.el
Note that a major mode exists also for PV~WAVE, see the IDL FAQ.
Hope this helps
Andrea Baruffolo
Astronomical Observatory
Padova, Italy
baruffolo@astrpd.pd.astro.it
|
|
|