gpt4 book ai didi

macos - OSX Option/Alt 作为 Meta : Is there a way to port or use emulate-mac-keyboard-mode in standard Emacs 24?

转载 作者:行者123 更新时间:2023-12-01 01:17:54 27 4
gpt4 key购买 nike

Emacs 24.1 刚刚发布,我再次倾向于使用“真正的”Emacs(Cocoa GUI 版本,来自 http://emacsformacosx.com)而不是 Aquamacs。唯一让我留在 Aquamacs 的是 this :

In AquamacsEmacs, Option (Alt) is mapped to Meta - however, because Option is used to input a lot of non-ASCII characters such as ü or £ on a variety of keyboards, the special character input methods take precedence by default. You can deselect “Option key produces only special characters” in the Options menu to use Option as Meta, or you set the variable mac-command-modifier to ‘meta - you will lose functionality, of course. If you use a non-English keybboard layout, the emulation modes might be just what you want. While they leave the Option key mapped to Meta, they will allow you to input many common characters ([,],{,},\, etc.) directly with the Option key, just as you would otherwise. You can find them in the Options → Option Key menu - or use, e.g., M-x emulate-mac-german-keyboard-mode.



This question谈到了同样的问题,答案之一是“使用 Aquamacs”。

所以在 Aquamacs 中,我可以使用 Option 键作为 Meta,一切都很好,我可以输入例如[ 使用 option(alt)-8 并在我将它添加到我的 .emacs 中时仍然使用 alt 作为元数据:
(setq emulate-mac-finnish-keyboard-mode t)

但是有没有办法在 Emacs 24 中使用这个功能?有没有人试过将 emulate-mac-‌ keyboard-mode.el 移植到标准 Emacs?

不,作为元的 cmd 对我来说不是一个选择。

最佳答案

Has anyone ever tried porting emulate-mac-‌​keyboard-mode.el to standard Emacs?



我还没有测试过,但是 this answer到你链接的问题,声称已经做到了这一点。

关于macos - OSX Option/Alt 作为 Meta : Is there a way to port or use emulate-mac-keyboard-mode in standard Emacs 24?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10978598/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com