public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Cc: cygwin@cygwin.com
Subject: Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1
Date: Thu, 26 Nov 2020 22:02:21 +0200	[thread overview]
Message-ID: <CAFNJpngz1PrESTvfUFHQqJsEqt0o9J3FpMEE_+ni41Cuzx2DGQ@mail.gmail.com> (raw)
In-Reply-To: <CAFNJpnifghu=f65dRmXZtieEanNowYzA8FMFbD0x75qk-0Q=PQ@mail.gmail.com>

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!

      reply	other threads:[~2020-11-26 20:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 15:18 Oleksandr Gavenko
2020-11-26 15:24 ` Eliot Moss
2020-11-26 20:38   ` Oleksandr Gavenko
2020-11-27 18:12     ` Eliot Moss
2020-11-28 14:07       ` Oleksandr Gavenko
2020-11-26 18:42 ` Henry S. Thompson
2020-11-26 19:22   ` Oleksandr Gavenko
2020-11-26 20:02     ` Oleksandr Gavenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFNJpngz1PrESTvfUFHQqJsEqt0o9J3FpMEE_+ni41Cuzx2DGQ@mail.gmail.com \
    --to=gavenkoa@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).