tramp-devel
[Top][All Lists]
Advanced

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

Re: Can't create auto-save files when using tramp on Windows


From: Michael Albinus
Subject: Re: Can't create auto-save files when using tramp on Windows
Date: Sun, 22 Jan 2017 12:14:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Nikolay Kudryavtsev <address@hidden> writes:

> Hi, Michael.

Hi Nikolay,

> I've tested both master and emacs-25, they work fine in regards to
> this bug. Thanks for fixing this.

Thanks for the feedback.

> About tramp test suite - I've tried running it now and a couple of
> times before and it totally failed for me. The problem is that you
> have checks for (file-remote-p tramp-test-temporary-file-directory)
> and tramp-test-temporary-file-directory is not defined on Windows. So,
> there seems to be no way around having a mock method for Windows.

There's no mock method on Windows, indeed. But you could use a real
target for testing. Prior starting Emacs, apply this command:

> set REMOTE_TEMPORARY_FILE_DIRECTORY=/plink:address@hidden:/tmp

user and host shall be replaced by respective values. See also the
Cmommentary section of tramp-tests.el.

You might have seen the discussion for this patch on the emacs-devel
ML. In the emacs-25 branch, only the patch for tramp.el has landed
(which is the more important part); the patch for files.el didn't arrive
there. Therefore, the test case `tramp-test31-make-auto-save-file-name'
will fail, likely. In the master branch, all tests shall pass.

Best regards, Michael.



reply via email to

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