Associating a function in Emacs after looking up the code with M-x describe-key
I have typed the following macros on my
(global-set-key (kbd "M-<left>") 'windmove-left) ; move to left windnow (global-set-key (kbd "M-<right>") 'windmove-right) ; move to right window (global-set-key (kbd "M-<up>") 'windmove-up) ; move to upper window (global-set-key (kbd "M-<down>") 'windmove-down) ; move to lower window
However, when I press Alt+left or any of the other keyboard combinations, I get errors like the following in the minibuffer
M-o 3 c is undefined.
Why doesn't it work? I thought I was following the syntax described here (