5

In my init file, I have C-) bound to a smartparens "slurp" command. This works great on linux, but when I try to use the same keybinding on my Windows machine, nothing happens.

To troubleshoot on my Windows machine, I've tried C-h c followed by C-)—emacs doesn't register that any keys have been hit.

I've tried a couple of similar key sequences: M-) and C-0 both register fine.

Any idea why C-) doesn't register, and any idea how to fix it?

7
  • First, does it happen with no init file (emacs -Q)? Second, does windows use C-) for something else, which prevents it from reaching emacs?
    – Dan
    Commented Jan 28, 2017 at 0:21
  • Are you using the GUI version of emacs?
    – user12563
    Commented Jan 28, 2017 at 0:34
  • @Dan, it happens with no init file. I looked at a page of windows shortcuts here, and C-) isn't on the list.
    – achalk
    Commented Jan 28, 2017 at 1:00
  • @DoMiNeLa10, yes I'm using the GUI version.
    – achalk
    Commented Jan 28, 2017 at 1:01
  • Please show your code that binds the key sequence. Provide a step-by-step recipe that starts from emacs -Q (no init file).
    – Drew
    Commented Jan 28, 2017 at 1:33

1 Answer 1

5

I found a solution—the following works for me:
Control Panel >
Language >
Advanced Settings >
Change language bar hot keys >
Ensure Between input languages is highlighted >
Change Key Sequence... >
Change Switch Keyboard Layout from Ctrl + Shift to Not Assigned.

A similar process is outlined here.

2
  • 2
    I had this issue even though I had done these steps in the past. Something must have gotten messed up in Windows because I had to add the key binding back and then remove it to get C-) working again. Oddly C-( worked, but C-) didn't.
    – Tanj
    Commented Apr 20, 2021 at 17:58
  • @Tanj have the same issue here...
    – shelper
    Commented Nov 13, 2021 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.