简体   繁体   中英

Emacs TRAMP mode doesn't work (Every file I open is empty)

I used TRAMP mode quite a lot in the last few days. But now it suddenly stopped working. Whenever I attempt to access a remote file, emacs freezes for about a minute and when the file opens, it's always empty.

My emacs version is: GNU Emacs 24.5.1 (x86_64-apple-darwin14.5.0, NS apple-appkit-1348.17) And my TRAMP mode version is: 2.2.11-24.5

I ran into a similar issue when using tramp on a Windows 10 environment. I found that files over 4096 bytes were being compressed when transferred from the remote with gzip, which wasn't supported on Windows 10 (I could probably have fixed that). I fixed this by changing the tramp-inline-compress-start-size variable to nil . In my case, this didn't cause a performance issue, but it may be better for you to add gzip to your environment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM