OSX Emacs: unbind just the right alt?

前端 未结 4 2046
天涯浪人
天涯浪人 2020-12-29 06:28

I\'m using emacsformacosx.com and would like to stop the Meta_R (right meta, or right option key) on my Apple keyboard from being an Emacs meta key.

The rea

4条回答
  •  一向
    一向 (楼主)
    2020-12-29 07:12

    I found a solution for my macbook pro with french keyboard.

    Considering that I hardly ever use the Fn key here what i did:

    ; ALT is considered as ALT and not interpreted as META
    (setq-default mac-option-modifier nil)

    ; Fn is considered as META and not interpreted as Fn
    (setq-default mac-function-modifier 'meta)

    So I can fool around with as many backslash as I want in emacs!

    \\[GREAT!!!]\\

提交回复
热议问题