Re: [racket-users] Re: Copy keybinding in DrRacket not working

2020-11-23 Thread Dimaugh Silvestris
No, as I said in the first mail, I hadn't added any custom keybindings 
before and so I only had the DrRacket default keybindings, and c:c only 
showed the keybinding for Copy, though it didn't work.
Really odd.

On Monday, 23 November 2020 at 14:53:03 UTC+1 laurent...@gmail.com wrote:

> On Sun, Nov 22, 2020 at 7:45 PM Dimaugh Silvestris  
> wrote:
>
>> So I tried adding a custom keybinding using c:c, and now when I open 
>> DrRacket, I get the error:
>> <> /home/dimaugh/prog/rkt/keybindings.rkt:
>> map-function in keymap%: "c:c" is already mapped as a non-prefix key>>
>>
>
> This seems like there was another keybinding with the *prefix* c:c (say 
> c:c;c:x for example).
>
> In the search bar of Edit->Keybindings->Show Active Keybindings, type 
> "c:c", maybe you'll see several entries matching this prefix.
>
> If not, I don't know :)
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/16e98f60-46b3-449c-967f-fb74aa394467n%40googlegroups.com.


Re: [racket-users] Re: Copy keybinding in DrRacket not working

2020-11-23 Thread Laurent
On Sun, Nov 22, 2020 at 7:45 PM Dimaugh Silvestris <
dimaughsilvest...@gmail.com> wrote:

> So I tried adding a custom keybinding using c:c, and now when I open
> DrRacket, I get the error:
> < /home/dimaugh/prog/rkt/keybindings.rkt:
> map-function in keymap%: "c:c" is already mapped as a non-prefix key>>
>

This seems like there was another keybinding with the *prefix* c:c (say
c:c;c:x for example).

In the search bar of Edit->Keybindings->Show Active Keybindings, type
"c:c", maybe you'll see several entries matching this prefix.

If not, I don't know :)

-- 
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 racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaEgFQrs9mfjN%2B_4TDgkLErKoPgEQ34wDx%2B%3Dy6qebHb9HQ%40mail.gmail.com.


[racket-users] Re: Copy keybinding in DrRacket not working

2020-11-22 Thread Dimaugh Silvestris
Ok, so I have tried adding a custom keybinding so that Control+n does the 
copying:
(keybinding "c:n"
(lambda (editor evt) (send editor copy)))

Works perfect, but conflicts a bit with my muscle memory. 
So I tried adding a custom keybinding using c:c, and now when I open 
DrRacket, I get the error:
<>

But after clicking the OK button I can use DrRacket, and Control+c works as 
it should.
The error message bothers me a bit, but other than that it's now solved.

On Sunday, 22 November 2020 at 16:49:38 UTC+1 Dimaugh Silvestris wrote:

>
> For some reason, Control+c isn't working in DrRacket, while Control+x for 
> cut and Control+v work as expected. I think I've had this since I installed 
> DrRacket, and I haven't changed anything about keybindings that I remember; 
> I've been using the right-click menu instead, but it's cumbersome and after 
> a while I've gotten sick of it. 
>
> In Edit->Keybindings->Show Active Keybindings it appears as "Copy (c:c)", 
> so I have no idea what could be causing this.
>
>

-- 
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 racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c991c729-3100-4d70-bd8a-6b5c7d9a9737n%40googlegroups.com.