When starting Emacs (24.3.1) with Tramp (2.2.6-24.3) on Ubuntu 12.10, I will have a bunch of deleted files opened through Tramp, for example:
m-x find-file: /scp:user@example.com:~/file.txt
After a pause / resume cycle on my laptop, I will return to Emacs and start working in the open buffer. After saving or autosaving, it hangs and displays "args out of range (000 - 000)" (this is a message from memory, zeros represent the numbers that it shows, will edit it the next time I get it), and not save, Any subsequent attempts will simply freeze.
Also, I cannot open any other files using the same protocol in the find file as in the case of "scp" above.
Some workarounds that I found should first delete the ~ / .emacs.d / tramp file, which sometimes works, and there are times when it wasn’t after several pause / resume cycles.
Another workaround is to use a different protocol when opening files, so in the find-file line above I would use 'ssh' or 'scpc'. This is only for opening new buffers, and not for saving current buffers, so I usually close the file buffer and then open it again using another protocol that I mentioned.
Any suggestions?
source
share