Emacs macos keyboard handling problem
Add the following line to your .emacs

(global-set-key “\M-!” nil) 


and similarly for the rest of the shifted numbers.

(If you don’t have a .emacs, make a text file called that in your home directory.)

This will unbind whatever functions are attached to those key combinations, so they’ll get passed out of Emacs and off to the rest of the system.

However, if there’s any command there that you use, you’ll need to bind it to a different key combination. Even if you activate things with Escape then the key, that’s just an alias for Meta.

You can see what command is bound to a key with C-h k, then you can bind that function to another key in your .emacs

For instance, if I wanted to move query-replace-regexp, which I have on M-%, I might add these lines:

(global-set-key “\M-%” nil) 
(global-set-key “\C-%" 'query-replace-regexp)


Your other option would be to change what key to use as Meta, but that would probably be a lot more trouble.