システムを再インストールした後、emacs のトランプが機能していないことに気付きました...;. Cx Cf /su:root@localhost: と入力します。ここで、emacs はパスワードを要求しますが、これは私が提供します。次にハングし、ミニバッファーに上記の文字列を表示してから Tramp: Waiting for prompts from remote shell
以下は、 tramp/su root@localhostの内容です:
Password: Password:
su: incorrect password
Process *tramp/su root@localhost* exited abnormally with code 125
そして、これが debug Tramp/su root@localhostの内容です
最後の行:
17:13:59.988240 tramp-file-name-handler (1) # Interrupt received in operation (file-exists-p /su:root@localhost:)
ハングはtramp-file-name-handlerまたはfile-exists-p/su:root@localhost:内で発生すると言っているようですが、それをどうするか本当にわかりません...
私のemacsのバージョンは23.4.1です
誰かがこれを引き起こしている可能性があることを知っているなら、私はうれしいです!
編集:これは、プロンプトが正しく構成されていないことが原因であることが判明しました...ルートのPS1変数に色が含まれており、色対応端末の検出が機能していませんでした