Waiting for prompts from remote shell

find-fileで /sudo::/etc/group とかすると、ミニバッファに

Waiting for prompts from remote shell

と表示されたままになり、ファイルの編集ができない。

.emacsに以下の設定をすることで対処。

(setq tramp-shell-prompt-pattern "^.*[#$%>] *")

前にもあって、たしかZshのプロンプトの設定あたりが原因だったような。