Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
流浪汉缓冲区的自动保存非常烦人,每次都要花费几十秒。
我可以使用 Alt-X 自动保存模式禁用它,有什么办法可以自动禁用它吗?也许通过使用某种钩子?
您可以设置tramp-auto-save-directory为本地目录。
tramp-auto-save-directory
(setq tramp-auto-save-directory "~/emacs/tramp-autosave")
更新:在您的情况下,您可以设置tramp-auto-save-directory为/tmp.
/tmp