问题描述
有一个函数'w32-toggle-lock-key
,有效地模拟了,或键。是否有类似的功能来模拟一个键( not + )? p>
我需要这个的原因是因为我已经将绑定到Windows中切换语言。
我相信答案是否定的。由于与,即该shift是一个修饰符,Windows正在吞噬按键。
查看Emacs是否响应的最简单的方法一个关键是要求关键的帮助
Ch k< press-key>
如果Emacs告诉你什么绑定到该键,你是金色的。如果Emacs似乎正在等待更多的输入(大约2秒钟后显示在minibuffer中的键),那么你还是很好 - 关键是映射到前缀映射(例如或)。如果Emacs什么都不做,还在等待你在提示符下输入一些东西。
描述键(或点击或菜单项):
那么你知道Emacs还没有收到一个事件。当我按时,会发生什么。
There is a function 'w32-toggle-lock-key
to, effectively, simulate a press of , , or key. Is there a similar function to simulate a key by itself (not +)?
The reason I need this is because I have bound to switch languages in Windows.
I believe the answer is no. For the same reasons discussed in this answer, namely that shift is a modifier, and Windows is swallowing the keypress.
The easiest way to see if Emacs responds to a key is to ask for help on a key
C-h k <press-key>
If Emacs tells you what is bound to that key, you're golden. If Emacs seems to be waiting for more input (and after about 2 seconds shows you the key in the minibuffer), then you're still good - the key is just mapped to a prefix map (e.g. or ). If Emacs does nothing and is still waiting for you to type something at the prompt
Describe key (or click or menu item):
then you know Emacs hasn't received an event. This is what happens when I press .
这篇关于可以发送< shift>从Emacs到Windows的按键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!