setting emacs on mac Edit

Use Alt/Option as Meta Key under terminal emulators
For, starting from Snow Leopard: Go to Preferences > Settings > Keyboard > Use option as meta key.

For iTerm: Go to Manage Profiles > Keyboard profiles > (your profile) > Option Key as…

emacs Edit

shell>emacs file1
// open official document
Alt + X健,输入help-with-tutorial
//quit emacs
Ctrl +x, Ctrl + c