Not just you.  This was the behavior I noticed before updating to 12404 and not being able to build the IDE at all (as per the email that I just sent).<div><br></div><div>Chris.<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 4:08 PM, Ron Garret <span dir="ltr"><<a href="mailto:ron@awun.net">ron@awun.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I just upgraded to the latest trunk version, and the behavior of the<br>
return key in the listener seems to have changed in a very annoying<br>
way.  The previous behavior was:<br>
<br>
1.  If the cursor was on the last line of the listener, and there was<br>
a complete sexpr on that line, that sexpr would be evaluated.<br>
<br>
2.  If the cursor was on the last line of the listener and there was<br>
not a complete sexpr on that line, a newline would inserted.<br>
<br>
3.  If the cursor was anywhere else in the buffer, the sexpr to the<br>
left of the cursor would replace the last line in the buffer.  (IMHO,<br>
this was not the correct behavior.  The correct behavior is what Fred<br>
used to do: append the sexpr to the left of the cursor to the last<br>
line.  But that's another issue.)<br>
<br>
The new behavior, as best I can make out, is:<br>
<br>
1.  If the cursor is at the end of the buffer (not merely on the last<br>
line) and there is a complete sexpr to the left of the cursor then the<br>
sexpr is evaluated.  This is as it should be.  However...<br>
<br>
2. If the cursor is on a line other than the last, then the sexpr on<br>
that line is copied to the last line AND it is evaluated.  This is<br>
badly broken IMHO because there is no opportunity to edit the line.<br>
Now to re-use a previous line of input with changes you have to<br>
select, copy, click, and paste.  Very annoying.  Worse...<br>
<br>
3.  If the cursor is on the last line but not at the end of the line,<br>
then a newline is inserted.  In addition, if there was a complete<br>
sexpr on the last line, it is evaluated.  However, the cursor does not<br>
drop down to the new last line.  It stays where it is.  This is just<br>
b0rken.  It's particularly annoying because there's a bug in the<br>
listener scrolling code so that if you do this at the bottom of a<br>
window, you get output that you don't see unless you manually scroll<br>
the window down.<br>
<br>
My question is: is there a reason that these changes were made?  Am I<br>
the only one who is annoyed by them?  Has anyone already figured out<br>
if there's a way to fix this with an appropriate incantation in the<br>
ccl-ide-init file?<br>
<br>
Thanks,<br>
rg<br>
<br>
_______________________________________________<br>
Openmcl-devel mailing list<br>
<a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>
<a href="http://clozure.com/mailman/listinfo/openmcl-devel" target="_blank">http://clozure.com/mailman/listinfo/openmcl-devel</a><br>
</blockquote></div><br></div>