Thank you for this quick fix! Qiang

On Wed, Dec 5, 2012 at 9:48 PM, Michael Albinus <[email protected]>wrote:

> Qiang Li <[email protected]> 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
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to