Marinos K
Marinos K

Reputation: 1829

How to enter special symbols with Alt in Emacs under Mac Os X?

In Mac Os X using the alt key with some other key will produce a series of special symbols. E.g. alt-' results in æ, alt-3 results in £, etc. When using emacs, however, I can no longer input these special symbols this way since alt is now mapped to meta. Is there a way to map alt to some other key combo? Or maybe use the left alt as meta only and have the right behave as it normally does in other apps?

Upvotes: 6

Views: 2739

Answers (1)

lawlist
lawlist

Reputation: 13457

There are additional methods to obtain special characters other than the one mentioned in this answer, but I personally prefer the best of both worlds -- i.e., I use the left alt/option key as meta, and I use the right alt/option key for stock Apple stuff -- e.g., special characters like the ones mentioned by the original poster:

(setq ns-alternate-modifier 'meta)
(setq ns-right-alternate-modifier 'none)

Upvotes: 9

Related Questions