title: emacs Terminal control-esc-% ("query-replace-regex") ignore the "control" and yields plain meta-% (query-replace)
body: <p>macOS Monterey 12.2.1.  Using the built-in emacs from Terminal, I often want to do query-replace-regexp.  According to GNU docs, the shortcut is C-M %, so I type control-Esc %.  But emacs doesn't notice the control key.  Instead it gives me the non-regex query-replace, as if I had just typed Esc % (M %).</p>
  <p>When I type control-Esc, the command buffer at the bottom of the emacs window shows just ESC, whereas I had expected to see something like C-ESC.</p>
  <p>For other commands, like C-r for search, C-( to learn a macro, etc the control key works just fine.</p>
  <p>Has anybody seen this behaviour, or could suggest how I can make C-M % work?</p>