我想知道Emacs中是否有禁用弹出菜单的功能。当我在Putty (ssh Session)中使用Emacs时,我发现了一个问题...当我点击/滚动我的终端的右半部分,帮助弹出菜单出现...我该如何调试它?当我打开多个缓冲区时,这真的很烦人。
当我单击右半部分时,我会看到以下内容:
Press PageUp key to reach this buffer from the minibuffer.
Alternatively, you can use Up/Down keys (or your History keys) to change
the item in the minibuffer, and press RET when you are done, or press the
marked letters to pick up your choice. Type C-g or ESC ESC ESC to cancel.
Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.
Possible completions are:
e==>Emacs Tutorial E==>Emacs Tutorial (choose language)...
f==>Emacs FAQ n==>Emacs News
k==>Emacs Known Problems s==>Send Bug Report...
p==>Emacs Psychotherapist S==>Search Documentation
d==>Describe r==>Read the Emacs Manual
m==>More Manuals F==>Find Emacs Packages
P==>External Packages g==>Getting New Versions
c==>Copying Conditions 0==>(Non)Warranty
a==>About Emacs A==>About GNU
Help (up/down to change, PgUp to menu): e==>Emacs Tutorial我找到了同样的问题here (Stackoverflow),但是解决方案禁用了滚动和选择。我想知道是否有解决这个问题的办法。
谢谢,asp。
发布于 2013-06-25 14:49:53
很难知道是什么键绑定使菜单出现,但您可以完全禁用它。使用:
(fset 'menu-bar-open nil)这看起来是一种“极端”的解决方案,所以如果你不喜欢它,你可以通过在你看到菜单后输入"C-h l“来了解更多关于菜单出现的原因。您将看到最近的按键/鼠标事件,您可以使用"C-h k“来了解这些事件正在调用的函数和/或重新绑定它们。
https://stackoverflow.com/questions/17280845
复制相似问题