So, in Mac OSX, I'm trying to switch to using Emacs in Terminal.app, but things like
C-M-% don't work. After a bit of googling I came across this (mostly) unanswered question
Other discussions such as this one and this one point out that this is basically the terminal emulator's fault, which I can understand.
But is there really no workaround? The last answer in the superuser question https://superuser.com/a/84008/218146, seems promising, but I don't understand it fully. Can you really make Emacs read those events? Perhaps a working (if probably elaborate) hack could be developed on top of it.
Finally, I could use another terminal emulator. The only requirement is that I can keep using the "Option/Alt" key as the Meta key. Any suggestions?
EDIT: I just found out that the "esc" key works, i.e., I can input C-M-SPC perfectly with it. So a more than reasonable hack for me would be to remap Left Option to ESC in Terminal.app. Anyone know how to do that? EDIT2: I spoke too soon: I tried out Karabiner (https://pqrs.org/osx/karabiner/) and remapped LeftOption to ESC. A single C-M-SPC works alright, but multiple SPC's after that don't. So it's mostly useless... :-(
C-[usually works as an alias for ESC, and it's easier to reach.