[racket] My PLT->Racket porting experience
On Thu, Mar 3, 2011 at 5:16 PM, Don Blaheta <blahedo at blahedo.org> wrote:
> Quoth Robby Findler:
>> On Thu, Mar 3, 2011 at 7:33 AM, Don Blaheta <dblaheta at monm.edu> wrote:
>> > I wouldn't want to see the test case window be sticky and impossible to
>> > send to the back, but it would be nice if it always came to front when
>> > you click Run and there are some failures.
>>
>> What if we were to make the default preference setting for the test
>> window be docked (in the next release)?
>
> I wouldn't mind that, but it doesn't really solve the problem for when
> it's undocked.
>
>> > [0]Well, not always. Â Sometimes the window resurfaces, and I don't know
>> > why. Â Usually not.
>>
>> (It would be good to track down this bug.)
>
> Ok, I'm actually more confused now. I tried to track down a student
> example where I'd seen this happen, and apparently it's a version thing;
> starting in 5.0.2 and continuing to 5.1, if there are any failures at
> all, evaluating even an unrelated expression in the repl will re-pop-up
> the test failures window. I type in this:
>
> (define (foo x) 4)
>
> (check-expect (foo 3) 5)
>
> in Beginner, press Ctrl-T, and a window pops up as expected. I close
> it, type 4 in the REPL and hit Enter, and the window pops up again. Is
> this intentional? That's a little *too* often, I think.
Thanks, that's helpful.
Robby