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 <[email protected]> wrote:

> 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 at
> DrRacket under App Shortcuts, unlike other Mac OS apps in the list, it only
> shows the name DrRacket but doesn't show any of the shortcuts you've added.
>
>
> On Sat, Oct 30, 2021 at 6:37 AM Laurent <[email protected]> wrote:
>
>> On Fri, Oct 29, 2021 at 10:47 PM James Zollinger <[email protected]>
>> 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 daily driver, at least for development.)
>>
>>
>> Apparently it should be possible to do the same thing for Debian,
>> depending on your window manager, with some caveats:
>>
>> https://askubuntu.com/questions/107849/can-i-assign-custom-keyboard-shortcuts-for-menu-items-in-applications
>>
>>
>>> If anyone out there knows how to deal with context menus
>>> programmatically, please share.
>>>
>>
>> The code of the debug-tool should be changed to make these reachable from
>> the outside with a define/public. Somewhere around here:
>>
>> https://github.com/racket/drracket/blob/b74dc3bc65b4843db0c2b381161fa9e8d85d230d/drracket/gui-debugger/debug-tool.rkt#L375
>> but it's a little intricate because a set of specialized menu items are
>> created after right-clicking when in debug mode.
>>
>> Another possibility would be to simulate the mouse clicks, but that seems
>> rather hacky and error-prone.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/CABNTSaGiZ%2BbZirkyrtTScbVg5EK4reJw-JtoK3%2BTh5%3DCW7SiDQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/racket-users/CABNTSaGiZ%2BbZirkyrtTScbVg5EK4reJw-JtoK3%2BTh5%3DCW7SiDQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAGE%3DCnJ7FfvOOkk0_Q2Ch4kinJx%2BM5MEBwPYDcqNSFqLWQxOSQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CAGE%3DCnJ7FfvOOkk0_Q2Ch4kinJx%2BM5MEBwPYDcqNSFqLWQxOSQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAE8gKodhBXn_qntvi5qzQkYwjQnwA_c2uGhHJem-SSL0dmLm8g%40mail.gmail.com.

Reply via email to