[racket] Quick on-screen documentation

From: Deren Dohoda (deren.dohoda at gmail.com)
Date: Sun Apr 29 17:09:07 EDT 2012

I believe this is interfering with Ctrl+n to launch a new window. It
doesn't interfere with Ctrl+t for a new tab.

Launch DrRacket, hit Ctrl+n, I get this:

add-panel: preferences dialog already open, cannot add new panels

 === context ===
C:\Program Files\Racket\collects\framework\private\preferences.rkt:178:2:
add-panel
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\gui-debugger\debug-tool.rkt:1099:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\macro-debugger\tool.rkt:120:6
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\deinprogramm\signature\tool.rkt:18:6
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\stepper\xml-tool.rkt:338:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\stepper\stepper-tool.rkt:166:4
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\test-engine\test-tool.scm:73:6
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\xml\text-box-tool.rkt:21:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
...

I'd try to remove it to test if this script is causing the problem,
but I don't understand what I'm supposed to tell raco planet -e ???.

When I skip loading the tool, re-launch DrRacket, Ctrl+n, I get a
different error (so maybe it is not related?):

add-child: child already exists with this path: '("Scripts")

 === context ===
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\gui-debugger\debug-tool.rkt:1099:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\macro-debugger\tool.rkt:120:6
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\stepper\xml-tool.rkt:338:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\stepper\stepper-tool.rkt:166:4
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\test-engine\test-tool.scm:73:6
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
C:\Program Files\Racket\collects\xml\text-box-tool.rkt:21:8
C:\Program Files\Racket\collects\racket\private\class-internal.rkt:3677:0:
continue-make-super
do-make-object
C:\Program Files\Racket\collects\drracket\private\unit.rkt:4902:2:
create-new-drscheme-frame
file-menu:new-callback method
...

Any ideas?

Deren

On Sat, Apr 28, 2012 at 9:52 AM, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> Fix pushed. Thanks!
>
> Robby
>
> On Sat, Apr 28, 2012 at 4:24 AM, Laurent <laurent.orseau at gmail.com> wrote:
>>
>>
>> On Fri, Apr 27, 2012 at 21:54, Laurent <laurent.orseau at gmail.com> wrote:
>>>
>>>
>>>
>>> On Fri, Apr 27, 2012 at 21:08, Deren Dohoda <deren.dohoda at gmail.com>
>>> wrote:
>>>>
>>>> Sorry, supposed to be to all:
>>>>
>>>> WinXP, DrRacket 5.2
>>>> Edit: Show Active Keybindings:
>>>>
>>>> string: expects argument of type <character>; given f1
>>>
>>>
>>> Indeed. I'm not sure, but this one might be on DrRacket (shortcuts can be
>>> symbols too, normally).
>>
>>
>> Filed a Racket bug report:
>> http://bugs.racket-lang.org/query/?cmd=view&pr=12737
>>
>> In the meantime, before there is an official Racket fix, if this error
>> bothers you, you can either replace the offending symbol keybindings in the
>> script by character ones only, or edit your
>> collects/drracket/private/frame.rkt as in the bug-report (but at your own
>> risk).
>>
>> Laurent
>>
>> ____________________
>>  Racket Users list:
>>  http://lists.racket-lang.org/users
>>


Posted on the users mailing list.