[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File cleared when remote disk is full

From: Qiang Li
Subject: Re: File cleared when remote disk is full
Date: Wed, 5 Dec 2012 22:22:04 +0800

Thank you for this quick fix! Qiang

On Wed, Dec 5, 2012 at 9:48 PM, Michael Albinus <address@hidden> wrote:
Qiang Li <address@hidden> writes:

> I was editing a remote file using scp protocol while the remote disk
> got full, and when I saved the file it silently became empty on the
> disk. I happened to notice this before I close Emacs, so I had the
> chance to write the buffer to another file. I think this behavior is
> dangerous and should be classified as a bug.

Thanks for the report. I've added some return code checking for
out-of-band copying. Note, that this does not work when your local
system is running MS Windows - I don't know hot to check a return code
in cmd.exe. Does anybody know?

%ErrorLevel% is for this

reply via email to

[Prev in Thread] Current Thread [Next in Thread]