Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

Oleksandr Gavenko gavenkoa@gmail.com
Thu Nov 26 20:02:21 GMT 2020


On Thu, Nov 26, 2020 at 9:22 PM Oleksandr Gavenko <gavenkoa@gmail.com> wrote:
> So Emacs tries to make some "smart" locking on dumb FS... Need to
> waste another few hours to make Emacs work.
>
Found the problem: Emacs fails on its "unlock-buffer" call from
emacs/src/filelock.c.

Feature described here:

https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html

To prevent of special symlink creation I disabled that feature:

(setq create-lockfiles nil)

So no need to waste time on TRAMP mode if it is supported natively by Cygwin!

Thx to Henry for giving me the right spin!


More information about the Cygwin mailing list