"E605: Exception not caught: emptyfile" when using :SudoWrite on a fresh profile #1

blueyed opened this Issue Nov 11, 2011 · 2 comments


None yet

2 participants

blueyed commented Nov 11, 2011

I have just used :SudoWrite on a fresh profile (mkdir /tmp/h ; HOME=/tmp/h ; vim), and got the following error:

Error detected while processing function SudoEdit#SudoDo:
line    5:
E605: Exception not caught: emptyfile
blueyed commented Nov 11, 2011

The error here really is the missing file name.. I get "E32: No file name" when using the regular ":w", too.

Just a matter of handling the error of a missing file better.


Should be fixed with revision: 68c7fae
Thanks for reporting!

@chrisbra chrisbra closed this Dec 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment