[Openmcl-devel] Running code in a hemlock-view

Byron Davies davies at pobox.com
Mon Feb 17 00:14:15 UTC 2014


Maybe I figured it out.  This seems to work:

(gui::execute-in-gui
  (lambda ()
    (hi::handle-hemlock-event
       v
       (lambda () (hi::loud-message "Foo")))))

Is this the right way to do it?

On Feb 16, 2014, at 2:54 PM, Byron Davies <davies at pobox.com> wrote:

> From the listener, how do I run code in a hemlock-view?
> 
> For example, to beep and display “Foo” in the mini buffer of an open hemlock-view v, I tried:
> 
> (hi::handle-hemlock-event
>     v
>     (lambda () (hi::loud-message "Foo")))
> 
> This responded with:
> 
>> Error: Failed assertion: (EQ *CURRENT-PROCESS* CCL::*INITIAL-PROCESS*)
>> While executing: CCL::%ASSERTION-FAILURE, in process Listener(6).
> 




More information about the Openmcl-devel mailing list