Re: New Eclipse-based IDE [message #51705] |
Tue, 05 December 2006 09:50  |
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   |
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 #51953 is a reply to message #51705] |
Tue, 19 December 2006 13:46   |
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  |
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
|
|
|