mar*_*ell 17 macos emacs dot-emacs utf
我正在使用emacsformacosx.com,并希望将Apple键盘上的Meta_R(右元或右选项键)作为Emacs元键停止.
原因是我希望能够继续使用正确的选项键作为字符修饰符,以便在emacs中写入时可以输入UTF-8字符.例如,我知道我可以做一个C-x 8 RET并打字em dash,但这比做多了Alt_R -!
有没有办法将密码传递给global-unset-key?或者其他我忽略的东西?
我应该清楚,我仍然希望能够使用Meta_L绑定:)
Spe*_*enn 25
要在Mac OS X版本的GNU Emacs上使用ALT映射左侧alt键和METT以及右侧alt键,我使用:
(setq mac-option-key-is-meta t)
(setq mac-right-option-modifier nil)
Run Code Online (Sandbox Code Playgroud)
它应该为你期望的行为做好准备.
Nem*_*emo 15
Aquamacs有一个名为ns-right-alternate-modifier的变量.如果我正确阅读文档,这应该做你想要的:
(setq ns-right-alternate-modifier nil)
Run Code Online (Sandbox Code Playgroud)
我不确定这是否支持库存GNU Emacs.