I agree with @Tyler
In my case, I use dwm as a window manager, so the meta key (ALT) is used to control almost all of its functions. When using emacs, the meta key conflicts with some key bindings, for example: when I move the words Mf or Mb (why did I come to this topic;)), so I found three options to get rid of this problem:
1) change emacs key binding and use super key as meta key
(setq x-meta-keysym 'super x-super-keysym 'meta)
Both characters (variables) are required because if you just use the x-super-keysym meta-integration, it includes both keys as a meta key. If you just use x-meta-keysym 'super only, it disables both and the command buffer will return sx undefined.
2) change the dwm key binding for the meta-super-key in the config.h file. take a look at http://dwm.suckless.org/customisation/windows_key
-#define MODKEY Mod1Mask +#define MODKEY Mod4Mask
3) redefine the xmodmap keymap bindings, replacing mod1 with super and mod4 with meta (be sure to check that xmodmap returns at a glance and does not affect the key binding of other programs)
Finally, I recommend that you do not change the default metacharacter, because it is less convenient for your fingers and can make you respond slowly to keystrokes. Try options 2 or 3, depending on your environment.
source share