From: Mike Ajemian
Subject: Hemlock question - adding command to running editor
Date: 
Message-ID: <8ntRd.24821$ya6.9940@trndny01>
I'm off on a tangent!

Was using Emacs this morning and built a simple elisp function to dump a
code fragment. The function relied on a separate (simple) function that was
written for CL. Emacs choked on it. Wasn't the first time. I'd just started
editing the function to make it elisp compatible when I realized I was going
to take working code and break it. Strangely, had the sense to realize this
was a bad idea. So I thought, if Emacs wants elisp and I'm coding in CL,
then I'll use Hemlock.

But I've run into a problem. I'm running Hemlock in one Lisp and have a
Slave connected. I'm trying to add a new command to the running Hemlock via
defcommand. I've got the command written, but can't figure out where to send
it to make it part of the Hemlock command set. Should be simple. Maybe I'm
just overlooking something obvious? Restarting Hemlock with the new
defcommand works. Evaluating it sends it to the Slave. But, but, what's the
magic mojo to talk to the (ed) Lisp? Been groveling through the manuals and
the Hemlock code, but haven't found anything yet.

Any help greatly appreciated.

Regards,
Mike
From: Mike Ajemian
Subject: Re: Hemlock question - adding command to running editor
Date: 
Message-ID: <4QtRd.56639$8a6.19540@trndny09>
"Mike Ajemian" <············@verizon.net> wrote in message
·························@trndny01...
> I'm off on a tangent!
>
> Was using Emacs this morning and built a simple elisp function to dump a
> code fragment. The function relied on a separate (simple) function that
was
> written for CL. Emacs choked on it. Wasn't the first time. I'd just
started
> editing the function to make it elisp compatible when I realized I was
going
> to take working code and break it. Strangely, had the sense to realize
this
> was a bad idea. So I thought, if Emacs wants elisp and I'm coding in CL,
> then I'll use Hemlock.
>
> But I've run into a problem. I'm running Hemlock in one Lisp and have a
> Slave connected. I'm trying to add a new command to the running Hemlock
via
> defcommand. I've got the command written, but can't figure out where to
send
> it to make it part of the Hemlock command set. Should be simple. Maybe I'm
> just overlooking something obvious? Restarting Hemlock with the new
> defcommand works. Evaluating it sends it to the Slave. But, but, what's
the
> magic mojo to talk to the (ed) Lisp? Been groveling through the manuals
and
> the Hemlock code, but haven't found anything yet.
>
> Any help greatly appreciated.
>
> Regards,
> Mike
>

Phew, found it. "Editor Evaluate *" forms.