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

Home » Public Forums » archive » Re: New Eclipse-based IDE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: New Eclipse-based IDE [message #51705] Tue, 05 December 2006 09:50 Go to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 04 Dec 2006 22:16:19 -0500, Richard G. French wrote:

>
>
>
> On 12/4/06 8:54 PM, in article
> slrnen9ka8.1g5.greg.hennessy@localhost.localdomain, "Greg Hennessy"
> <greg.hennessy@localhost.localdomain> wrote:
>
>> On 2006-12-05, JD Smith <jdsmith@as.arizona.edu> wrote:
>>> One of the old acronyms the vi crowd invented as an invective against
>>> Emacs was "Eight Megabytes and Constantly Swapping". Sort of puts
>>> things in perspective.
>>
>> That phrase is a blast from the past. I've been used to utter it a few
>> times myself. And I only know enough vi to edit the makefile to compile
>> emacs. :)
>
>
> I've been stymied several times in trying to get plain emacs (not xemacs)
> running under OSX, but I just tracked down
> http://homepage.mac.com/zenitani/emacs-e.html which has a drag and install
> version (GNU Emacs 22.0.90.1) that seems to work and it has IDLWAVE
> installed. Maybe this time I can actually learn to use this lauded
> interface between IDL and emacs - it will require that I learn emacs first
> (I am a vi fan). Suggestions for easy tutorials?

Just FYI.... Emacs 22 has been a *long* time in coming, and is much
more functional and useful than Emacs 21 in many ways. This has
motivated various groups to roll out CVS pre-release versions, like
this one. There are even version which remap all key bindings to be
more "Mac-like" (see aquamacs.org).

Emacs 22 has at long last recently entered pre-test phase, so an
actual honest-to-goodness release will be coming soon. I'm attempting
to get IDLWAVE as up to date as possible for this release (since it
will be the default version people use for the next ~5 years). For
the first time, Emacs trivially compiles on OSX as either a Carbon
Emacs.app, or normal X11 Emacs (both have pluses/minuses w.r.t. IDL
usage). So, by all means install one of these "itchy trigger finger"
pre-release versions, but just make sure you get the latest "real"
version when it arrives hopefully soon. The magic version of IDLWAVE
to look for is 6.1_em22.

Easiest way to get going with Emacs is Help->Emacs Tutorial, and note that
in most Emacs mappings Meta == Apple (which is unfortunately different
from the default Terminal, where Meta == Option key). Also feel free to
ignore whatever seems weird and use whatever is easiest. For instance,
C-n for "down one line" is probably awkward for most people... just use
the down arrow, etc.

For the record, I actually prefer the X11 version of Emacs 22 on OSX,
because:

1. IDL is already running in X11, so you can switch back and forth using
focus-follow-mouse (if you like that kind of thing, and have set it
up).

2. On my Powerbook, I don't often have my external mouse handy, but
with X11, I can emulate 3-button mice using Apple and Option click
(and turn this off when I have my real bluetooth mouse available).
This isn't crucial, but many things in Emacs like other clicks
(middle-click to paste, right-click on IDL breakpoint lines to
change options, etc.).

3. I can make Option -> Meta (for uniformity) and Apple -> Super, so I
can save keystrokes by mapping IDLWAVE commands like C-c C-d C-c to s-c
(Super-c, aka Apple-c), etc. In ~/.emacs:

(setq idlwave-shell-debug-modifiers '(super))

On the other hand, Carbon Emacs has nicely anti-aliased fonts and benefits
from running its own applications (can hide it, use application-window
Expose, etc.).

JD
Re: New Eclipse-based IDE [message #51717 is a reply to message #51705] Tue, 05 December 2006 07:31 Go to previous messageGo to next message
savoie is currently offline  savoie
Messages: 68
Registered: September 1996
Member
"Richard G. French" <rfrench@wellesley.edu> writes:

> I've been stymied several times in trying to get plain emacs (not xemacs)
> running under OSX, but I just tracked down
> http://homepage.mac.com/zenitani/emacs-e.html
> which has a drag and install version (GNU Emacs 22.0.90.1) that seems to
> work and it has IDLWAVE installed. Maybe this time I can actually learn to
> use this lauded interface between IDL and emacs - it will require that I
> learn emacs first (I am a vi fan). Suggestions for easy tutorials?

I've the vi commands are completely ingrained in your muscle memory,
emacs can
seem a bear. But you can look at things like viper-mode. It basically
puts
vim key commands on top of emacs.

The most frustrating and most efficient way get a start with emacs is
"C-h t"
Control-h then t. It starts the tutorial. It's slow and painful, like
trying
to get to the corner market on a unicycle when you already have, and
know how
to ride a bicycle. But it's be worth it. The only other command to
know is
'M-x apropos' that'll let you learn everything else you need.

The *nix idlde is so poor, I can say for certain that without idlwave I
would
have long ago given up IDL. And with 15+ years of emacs (and a
complete
devotee), I suspect I won't be giving up idlwave for eclipse. Of
course, with
the way they're always polishing up their direct graphics fonts, and
keeping
up with their mapping libraries, ITT/RSI don't want dinosaurs like me
anyway.


--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
Re: New Eclipse-based IDE [message #51722 is a reply to message #51717] Mon, 04 December 2006 20:46 Go to previous messageGo to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Richard G. French wrote:
> I've been stymied several times in trying to get plain emacs (not xemacs)
> running under OSX, but I just tracked down
> http://homepage.mac.com/zenitani/emacs-e.html
> which has a drag and install version (GNU Emacs 22.0.90.1) that seems to
> work and it has IDLWAVE installed. Maybe this time I can actually learn to
> use this lauded interface between IDL and emacs - it will require that I
> learn emacs first (I am a vi fan). Suggestions for easy tutorials?

For what it's worth, I like Aquamacs Emacs for the Mac:

http://aquamacs.org/

This is a Mac-ified version of Emacs (22.0.50.1 right now). I know
IDLWAVE is installed with this; I'm not sure if I updated to a more
recent version.

As far as learning IDLWAVE is concerned, I found the tutorial:

http://idlwave.org/idlwave.html#TUTORIAL

and this reference card:

http://idlwave.org/idlwave_refcard.pdf

to be very useful. There's more info at http://idlwave.org.

Mike
--
www.michaelgalloy.com
Re: New Eclipse-based IDE [message #51724 is a reply to message #51722] Mon, 04 December 2006 19:16 Go to previous messageGo to next message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
On 12/4/06 8:54 PM, in article
slrnen9ka8.1g5.greg.hennessy@localhost.localdomain, "Greg Hennessy"
<greg.hennessy@localhost.localdomain> wrote:

> On 2006-12-05, JD Smith <jdsmith@as.arizona.edu> wrote:
>> One of the old acronyms the vi crowd invented as an invective against
>> Emacs was "Eight Megabytes and Constantly Swapping". Sort of puts things
>> in perspective.
>
> That phrase is a blast from the past. I've been used to utter it a few
> times myself. And I only know enough vi to edit the makefile to
> compile emacs. :)


I've been stymied several times in trying to get plain emacs (not xemacs)
running under OSX, but I just tracked down
http://homepage.mac.com/zenitani/emacs-e.html
which has a drag and install version (GNU Emacs 22.0.90.1) that seems to
work and it has IDLWAVE installed. Maybe this time I can actually learn to
use this lauded interface between IDL and emacs - it will require that I
learn emacs first (I am a vi fan). Suggestions for easy tutorials?

Dick French
Re: New Eclipse-based IDE [message #51725 is a reply to message #51724] Mon, 04 December 2006 17:54 Go to previous messageGo to next message
Greg Hennessy is currently offline  Greg Hennessy
Messages: 45
Registered: November 2005
Member
On 2006-12-05, JD Smith <jdsmith@as.arizona.edu> wrote:
> One of the old acronyms the vi crowd invented as an invective against
> Emacs was "Eight Megabytes and Constantly Swapping". Sort of puts things
> in perspective.

That phrase is a blast from the past. I've been used to utter it a few
times myself. And I only know enough vi to edit the makefile to
compile emacs. :)
Re: New Eclipse-based IDE [message #51726 is a reply to message #51725] Mon, 04 December 2006 16:04 Go to previous messageGo to next message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 04 Dec 2006 15:02:47 -0800, Mark Hadfield wrote:

> Like many IDL users, I'm waiting with bated breath for the new
> Eclipse-based IDE (though not as bated as it would be if I ran Linux
> instead of Windows). In this connection I found the following newsgroup
> exchange interesting:
>
>>> If you compare eclipse to VS [Visual Studio], it is not that memory
>>> hungry
>
>> And if you compare Saturn to Jupiter, it's not that big.

One of the old acronyms the vi crowd invented as an invective against
Emacs was "Eight Megabytes and Constantly Swapping". Sort of puts things
in perspective.

JD
Re: New Eclipse-based IDE [message #51953 is a reply to message #51705] Tue, 19 December 2006 13:46 Go to previous messageGo to next message
david.reitter is currently offline  david.reitter
Messages: 1
Registered: December 2006
Junior Member
JD Smith wrote:

> 1. IDL is already running in X11, so you can switch back and forth using
> focus-follow-mouse (if you like that kind of thing, and have set it
> up).

No system-wide setting for this?
Otherwise, http://www.emacswiki.org/cgi-bin/wiki/follow-mouse.el might
help.

> 2. On my Powerbook, I don't often have my external mouse handy, but
> with X11, I can emulate 3-button mice using Apple and Option click
> (and turn this off when I have my real bluetooth mouse available).
> This isn't crucial, but many things in Emacs like other clicks
> (middle-click to paste, right-click on IDL breakpoint lines to
> change options, etc.).

Ctrl-Click maps to mouse-3, Apple-Click maps to mouse-2 in Aquamacs, if
that helps.

> 3. I can make Option -> Meta (for uniformity) and Apple -> Super, so I
> can save keystrokes by mapping IDLWAVE commands like C-c C-d C-c to s-c
> (Super-c, aka Apple-c), etc. In ~/.emacs:

(setq mac-command-modifier 'super)

should work in all up-to-date Carbon Emacsen including Aquamacs.
We've put that in a while ago.

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and
support the Aquamacs Project!
Re: New Eclipse-based IDE [message #52079 is a reply to message #51953] Fri, 29 December 2006 14:18 Go to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 19 Dec 2006 13:46:57 -0800, david.reitter wrote:

> JD Smith wrote:
>
>> 1. IDL is already running in X11, so you can switch back and forth using
>> focus-follow-mouse (if you like that kind of thing, and have set it
>> up).
>
> No system-wide setting for this?
> Otherwise, http://www.emacswiki.org/cgi-bin/wiki/follow-mouse.el might
> help.

Thanks for the follow-up, David.

>> 2. On my Powerbook, I don't often have my external mouse handy, but
>> with X11, I can emulate 3-button mice using Apple and Option click
>> (and turn this off when I have my real bluetooth mouse available).
>> This isn't crucial, but many things in Emacs like other clicks
>> (middle-click to paste, right-click on IDL breakpoint lines to
>> change options, etc.).
>
> Ctrl-Click maps to mouse-3, Apple-Click maps to mouse-2 in Aquamacs, if
> that helps.

Is this something that cannot or will not make it into vanilla Carbon
Emacs? Very useful feature.

>> 3. I can make Option -> Meta (for uniformity) and Apple -> Super, so I
>> can save keystrokes by mapping IDLWAVE commands like C-c C-d C-c to s-c
>> (Super-c, aka Apple-c), etc. In ~/.emacs:
>
> (setq mac-command-modifier 'super)
>
> should work in all up-to-date Carbon Emacsen including Aquamacs.
> We've put that in a while ago.

Very nice, thanks. For those of us who have Emacs key shortcuts fairly
well embedded in our hind-brains and who therefore wouldn't use the Apple
key except as e.g. super, what other advantages does Aquamacs offer over
conventional carbon Emacs? Do you plan to track the impending v22 release?

JD
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Painfully slow IDL startup
Next Topic: Re: Number of points inside a contour curve

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

Current Time: Wed Oct 08 13:43:34 PDT 2025

Total time taken to generate the page: 0.00529 seconds