Unable to type braces and square braces in emacs

Niclas Åstrand picture Niclas Åstrand · Jul 31, 2010 · Viewed 25.5k times · Source

I'm running Mac OS X and GNU Emacs 22.3.1. I use a swedish keyboard. I am unable to type braces { }, [ ] in emacs. When trying to type braces I get parenthesis. Since I'm quite new to Mac and emacs I need a little help on configuring emacs to get this right.

Answer

monotux picture monotux · Jul 31, 2010
(setq mac-option-modifier nil
      mac-command-modifier 'meta
      x-select-enable-clipboard t)

This is what I use for my swedish keyboard. It even works with svorak A5, if you use it :)