<div>After kicking off mred -z, did you run the following in your emacs repl:</div>
<div>&nbsp; (current-eventspace (make-eventspace))</div>
<div>&nbsp;</div>
<div>Does that help?</div>
<div>&nbsp;</div>
<div>Here&#39;s where I first saw that advice:</div>
<div>&nbsp; <a href="http://www.neilvandyke.org/quack/quack.el">http://www.neilvandyke.org/quack/quack.el</a></div>
<div>;; Evaluate<br>;;<br>;;&nbsp;&nbsp; (current-eventspace (make-eventspace))<br>;;<br>;; as the first expression in the stdio REPL, and then it will work the<br>;; way you want.<br>;;<br>;; The GUI REPL creates a new eventspace for evaluating expressions, so<br>
;; the expressions are not evaluated in MrEd&#39;s main thread. The stdio<br>;; REPL, however, uses the main thread for evaluating expressions, so that<br>;; it acts just like MzScheme.<br><br><br></div>
<div class="gmail_quote">On Sat, May 3, 2008 at 2:07 PM, Andrei Stebakov &lt;<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I am making my first steps with MrEd with gui apps (on MS WinXP)<br>I took a sample of &quot;hello&quot; application from <a href="http://programmingalchemy.blogspot.com/2007/05/open-source-cross-platform-gui.html" target="_blank">http://programmingalchemy.blogspot.com/2007/05/open-source-cross-platform-gui.html</a><br>
<br>and pasted that code in hello.scm in Emacs. I started MrEd -z and started to evaluate all forms one after another (with Ctr-x Ctrl-e).<br>Finally when I came to the final form (send frame show #t) and evaluated it, a window without any contents appeared, to get message to show on the window I had to switch back and forth from the app to emacs.<br>
Looks like emacs is blocking the message thread of the MrEd application.<br>I am not sure if it&#39;s the right way to use MrEd in Emacs... I come from Common Lisp/Slime environment, so it seemed natural to me.<br>When I compile the file and make an exe, everything works.<br>
How the interactive development with MrEd should look like when you add new UI elements and test them before you make the final exe?<br><br>Thank you,<br>Andrew<br><br>_________________________________________________<br>
&nbsp;For list-related administrative tasks:<br>&nbsp;<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br><br></blockquote></div><br><br clear="all">
<br>-- <br>Have an idea for software? I can make it happen - <a href="http://www.ideas2executables.com">http://www.ideas2executables.com</a><br>My Blog: <a href="http://benjisimon.blogspot.com">http://benjisimon.blogspot.com</a>