[gambit-list] Fwd: [Gambit-iphone] emacs/slime repl integration

James Long longster at gmail.com
Fri Jul 17 12:12:41 EDT 2009


Hey everyone,

We've been discussing integrating Gambit and the remote debugger with
SLIME on the gambit-iphone mailing list.  Marc suggested moving the
discussion here, and I agree with him.  Here's the discussion; the
context is using Marc's remote debugger for debugging iphone apps, but
it's relevant for debugging any app.  Please chime in if you have
experience with SLIME or Emacs.


---------- Forwarded message ----------
From: James Long <longster at gmail.com>
Date: Fri, Jul 17, 2009 at 12:35 AM
Subject: Re: [Gambit-iphone] emacs/slime repl integration
To: Ryan Spangler <ryan.spangler at gmail.com>
Cc: gambit-iphone at iro.umontreal.ca


On Thu, Jul 16, 2009 at 6:53 PM, Ryan Spangler<ryan.spangler at gmail.com> wrote:
> So after using the repl for some time, it has become clear that it needs to
> be integrated into emacs.  For one, copy/paste on the mac doesn't work with
> X11, and beyond that, if it was in emacs I could develop the whole program
> in the repl, and save the relevant bits to a file afterwards.  An ideal way
> to develop.
>
> I'm not too up on emacs internals, anyone have any idea what it would take?
> Could slime read from the repl's port?  If we are lucky this wouldn't even
> be too much work, I am just wondering how to begin?  Any guidance would be
> greatly appreciated, thanks!

You are absolutely right, it's a step that has to be taken.  I am in
the same boat as you, though.  I don't have very much Emacs wizardry,
nor have I used SLIME (which seems like a beast).

However, I've always wanted to learn how to write Emacs modes and do
exactly this kind of thing.  I plan on writing a mode for iphone
development and debugging.  I have it schedule for the end of next
week, and I will let you know of my progress.  If anyone else wants to
try using SLIME instead, you are more than welcome to!

- James



More information about the Gambit-list mailing list