2

Emacsにポップアップメニューを無効にする機能があるかどうか知りたいです。Putty (ssh セッション) で 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

ここで同じ質問を見つけました(Stackoverflow)が、そこの解決策ではスクロールと選択が無効になります。これに対する解決策があるかどうか知りたいです。

ありがとう、アスペ。

4

1 に答える 1

2

どのキーバインドがメニューを表示させているのかを知るのは難しいですが、完全に無効にすることができます. 使用する:

(fset 'menu-bar-open nil)

これは一種の「思い切った」解決策のように見えるので、気に入らない場合は、メニューが表示された直後に「Ch l」と入力すると、メニューが表示されている原因について詳しく知ることができます。最後のキー/マウス イベントが表示されます。"Ch k" を使用して、これらのイベントが呼び出している関数を確認したり、それらを再バインドしたりできます。

于 2013-06-25T06:49:53.090 に答える