Sometimes when I try to run recover-this-file I get an error Invalid coding system: auto-save-coding which prevents the file from being recovered. I had to manually find the autosave file and copy contents. Strangely it doesn't happen to all of my recover-this-file attempts and I'm not sure what's the cause of it. Also I could recover files with UTF-8 characters so I don't think non-ASCII characters are really the cause either.


1 Answer 1


Turns out it has something to do with the plugin wakatime. Currently the workaround is to disable global-wakatime-mode when recovering a file and re-enable it afterwards. I've reported the issue but no reply yet.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.