I'm on macOS 10.12.5 and Emacs 25.2.1. For some reason M-right is interpreted as M-f. ESC-right is correctly interpreted as ESC-right. I can't see anything in the macOS keyboard shortcuts list that might be capturing M-right/left. How might I figure out what's going on here?
I ended up switching to mitsuarhu's Emacs osx port instead, which doesn't have this problem. I noticed that terminal Emacs in
iterm2 also doesn't have this problem. I guess
terminal.app is capturing M-right and turning it in to M-f for some reason.