Subject: bug#63963: Problem with -nw keybindings

From: Eli Zaretskii <[email-masked]>
Date: Thu, 08 Jun 2023 18:42:48 +0300

tags 63963 notabug
thanks

> From: conor <[email-masked]>
> Date: Thu, 8 Jun 2023 16:08:13 +0100
> 
> There are some issues that I've found with emacs -nw keybindings that don't occur on emacs gui.
> These cause problems with paredit-mode.
> 
> Using C-h k:
> `C-)` becomes `)`. 
> `C-(` becomes `(`. 
> `C-}` becomes `C-]`.
> `C-{` becomes `M-`.

This is not a bug: these key sequences don't correspond to characters,
so what Emacs sees or doesn't see when you type those depends on the
particular terminal emulator or console you are using.

Basically, you shouldn't expect those to work at all in a -nw session.