[racket] Quick on-screen documentation

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Apr 30 04:29:37 EDT 2012

Thank you both!
The fixed version of the plugin has been uploaded.

To avoid cluttering this mailing list with bugs of the Script Plugin and
not of Racket or DrRacket, there is a "Report Bug" item in the script menu,
that redirects to the PLaneT bug reporter with some automatically filled in
info.
(Though I would then miss Robby's and others excellent and quick answers.)

Meanwhile, more libraries have been parsed (srfi 13 and 14, raco and
framework).
Once the new plugin is installed, click on "Import Bundled Script" and
choose def-signatures.rkt.
This will update the user script and will ask for the reconstruction of the
index on the next use.

http://planet.racket-lang.org/display.ss?package=script-plugin.plt&owner=orseau

Laurent

On Sun, Apr 29, 2012 at 23:18, Robby Findler <robby at eecs.northwestern.edu>wrote:

> Looks like the call to preferences:add-panel here:
>
>
> http://planet.plt-scheme.org/package-source/orseau/script-plugin.plt/2/7/tool.rkt
>
> should be outside the constructor of the frame class.
>
> Robby
>
> On Sun, Apr 29, 2012 at 4:09 PM, Deren Dohoda <deren.dohoda at gmail.com>
> wrote:
> > 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
> >>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120430/34836f8e/attachment-0001.html>

Posted on the users mailing list.