Re: [racket-users] DrRacket: Interactive choice of what submodules to run when clicking Run

2017-01-24 Thread Laurent
I have a keybinding (or rather, a script menu item) that inserts the following into the interaction window: (require (only-in racket/enter dynamic-enter!) (only-in syntax/location quote-module-path)) (dynamic-enter! (quote-module-path main)) then I just press enter and the 'main

Re: [racket-users] DrRacket: Interactive choice of what submodules to run when clicking Run

2017-01-24 Thread David Christiansen
In Greg Hendershott's racket-mode for Emacs, the "run" command will run the submodule that's under the cursor. Something similar that would let one right-click a submodule to run it in DrRacket would be quite nice. /David On 01/24/2017 12:17 PM, Robby Findler wrote: There's not a simple way

Re: [racket-users] DrRacket: Interactive choice of what submodules to run when clicking Run

2017-01-24 Thread Laurent
Ok, thanks for the quick answer, Robby. I don't have time currently to try anything deep either, unfortunately. On Tue, Jan 24, 2017 at 5:17 PM, Robby Findler wrote: > There's not a simple way to do that right now, but I think a change to > the code to make that

Re: [racket-users] DrRacket: Interactive choice of what submodules to run when clicking Run

2017-01-24 Thread Robby Findler
There's not a simple way to do that right now, but I think a change to the code to make that more configurable would be great. It is probably best to make this as a change to DrRacket proper and support a cleaner interface all around. It might be nice to be able to click on things in the

[racket-users] DrRacket: Interactive choice of what submodules to run when clicking Run

2017-01-24 Thread Laurent
Hi all, Currently we can choose what submodules to run via the 'Choose Language...' settings. I'd like to make a keyboard shortcut that executes the current module but first asks the user what submodules she wants to run. So far I found (add-drs-function "run" (λ (frame) (send frame