什么是“s- [keyname]”参考Emacs,如何告诉Emacs呢? [英] What does "s-[keyname]" refer to in Emacs, and how do I tell Emacs to ignore it?

查看:119
本文介绍了什么是“s- [keyname]”参考Emacs,如何告诉Emacs呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景信息:

我在Mac上,我刚刚通过 http://emacsformacosx.com/ 。有一些问题,特别是缺乏全屏功能。

I'm on a Mac, and I've just upgraded to Emacs 23.1 via http://emacsformacosx.com/. There are a few issues, notably the lack of full screen ability.

我试图解决上一个问题,安装 Megazoomer ,它添加了一个绑定到 Cmd-return 的全局输入管理器。这导致当前正向应用程序最大化。但是,Emacs报告说< s-return>未定义。我从来没有看到过提到的 s- [key] ,而Google并没有提供答案。

I've attempted to get around this last issue by installing Megazoomer, which adds a global input manager bound to Cmd-return. This causes the currently forward application to maximise. However, Emacs reports that <s-return> is undefined. I've never seen an s-[key] mentioned before, and Google isn't forthcoming with an answer.

所以,两部分:


  1. s- [key] ?这纯粹是为了我的满足;和

  2. 我可以告诉Emacs忽略这个组合键,让组合键进入系统(所以希望我可以再次播放全屏Emacs)?

  1. What does s-[key] mean? This is purely for my satisfaction; and
  2. Can I tell Emacs to ignore this key combination and let the key combination carry through to the system (so that hopefully I can have full screen Emacs back again)?

编辑:所以1)已解决,至于2)我有:(global-set-key(kbd < s-return>)'忽略),至少停止错误。然而,Emacs仍然吞噬了组合,这不是很理想。

so 1) is resolved, and as to 2) I've got: (global-set-key (kbd "<s-return>") 'ignore), which at least stops the error. However, Emacs still swallows the key combination, which isn't ideal.

推荐答案

这是超级密钥,像 M - 是Meta键(PC键盘上的alt键,键盘上的Command键)和 C - 是控制键。

It's the Super key, like M- is the Meta key (alt key on a PC keyboard, Command key on your keyboard) and C- is the Control key.

我当然从来没有在键盘上看到超级键盘...他们来自一个漫长的时代。维基百科有一个令人印象深刻的空间兵马俑键盘的图像,其中包含所有修改器将永远需要:

I have of course never actually seen a super key on my keyboard... they are from a long gone era. Wikipedia has an image of this impressive "Space Cadet keyboard" which has all the modifiers you'll ever need:

这篇关于什么是“s- [keyname]”参考Emacs,如何告诉Emacs呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆