Re: [racket-users] Adding keybindings to debug

2021-11-08 Thread James Zollinger
I don't have the time to attempt modifications to DrRacket right now. Instead I've moved to emacs, which (to the question posed earlier by Robby Findler) does have keyboard shortcuts for running the debugger. I'm still using racket via emacs' racket-mode but trying to click on the very small

Re: [racket-users] Adding keybindings to debug

2021-11-03 Thread James Zollinger
Your explanation of "lambda _" jogged my memory. I'm remembering long ago Haskell learnings where the underscore is used in much the same way. I'll take a look at the two references you shared. This is a really useful starting point. Thank you again, Laurent. On Tue, Nov 2, 2021 at 5:35 AM

Re: [racket-users] Adding keybindings to debug

2021-11-02 Thread Laurent
On Mon, Nov 1, 2021 at 11:14 PM James Zollinger wrote: > Thanks for the info, Laurent. I tried the trick outlined in the link you > sent me on Debian 11 versions of Gnome 3.38.5 (just to test this) and MATE > 1.24.1-2 (my preferred environment) without any success. > I haven't tried myself. For

Re: [racket-users] Adding keybindings to debug

2021-11-01 Thread James Zollinger
Thanks for the info, Laurent. I tried the trick outlined in the link you sent me on Debian 11 versions of Gnome 3.38.5 (just to test this) and MATE 1.24.1-2 (my preferred environment) without any success. My LISP/scheme/racket skills are maturing but I'm not quite ready to tackle:

Re: [racket-users] Adding keybindings to debug

2021-10-30 Thread David Storrs
The menu strings get very fussy, so check that you entered it exactly right, and do a very simple one to start. That's the usual cause in my experience. On Sat, Oct 30, 2021, 7:25 AM Mike Engelhart wrote: > On Mac OS I tried adding keyboard shortcuts using the linked Apple support > document to

Re: [racket-users] Adding keybindings to debug

2021-10-30 Thread Mike Engelhart
On Mac OS I tried adding keyboard shortcuts using the linked Apple support document to allow for comment/uncomment bindings in DrRacket and it doesn't work (at least on Mac OS Monterey). One thing I noticed is that if you go back to System Preferences->Keyboard->Shortcuts->App Shortcuts and look

Re: [racket-users] Adding keybindings to debug

2021-10-30 Thread Laurent
On Fri, Oct 29, 2021 at 10:47 PM James Zollinger wrote: > Thank you both for the thoughtful answers. I will take a look at the > quickscript you sent, Laurent. The mac keyboard shortcut is a great > feature. Makes me wonder about buying a mac again after quite a few years. > (I use debian as my

Re: [racket-users] Adding keybindings to debug

2021-10-28 Thread David Storrs
I don't know if this fills the need but it's a useful thing to know regardless: macOS will allow you to add a keyboard shortcut for any menu item in any application. https://support.apple.com/guide/mac-help/create-keyboard-shortcuts-for-apps-mchlp2271/mac On Thu, Oct 28, 2021 at 1:10 PM James

Re: [racket-users] Adding keybindings to debug

2021-10-28 Thread Laurent
There may be a better way to do it, but here's at least a working solution: https://gist.github.com/Metaxal/5c91eddafb86bb0c06b4d8322ad53045 It's a quickscript (https://docs.racket-lang.org/quickscript/index.html) so it gives you a new submenu in the Scripts menu, with associated keybindings:

[racket-users] Adding keybindings to debug

2021-10-28 Thread James Zollinger
I'm a happy user of DrRacket, plowing through the MIT SICP (Structure and Interpretation of Computer Programs.) As I'm learning Scheme, I'm spending more time than I'd like to admit in the debugger. I'm more used to emacs/bash but really liking the DrRacket IDE (using graphical libs to display