From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id C16973857C78 for ; Thu, 26 Nov 2020 20:02:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C16973857C78 Received: by mail-ot1-x32d.google.com with SMTP id f16so2753112otl.11 for ; Thu, 26 Nov 2020 12:02:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=aHE0WCU2lISlXgREvQWKjeHpnkzKfc/i351Ezzh2jtM=; b=sCNjglnIti07Jh4zqmqyeqSVO6R+3gPfULG/8yTenI1NC5/0fpmdBwbkv8QZ3G9d5J Z3NLoBSTK3di4hN6VCBMYHVdRC10zuRN40BrfY2ySKbgyGTKH3a4XNyXtSaliyzwaGq9 fFoczi6S55NNigBvESahuTZmTlupge/E8Wh/LvkVeYfJ1h7xTd1rLOd9/P1yAVB0I53n Aok1qYfEaCsbmtmhZ/MIaNVg1zC6po45UvzaOjCBuKG8ICi9E2yua2sk3A+Y2wmInUip xsTQF552SauLvxpINnGS9w+FX/C2OlKiXmpt2au00g3O5j9neISJ2inN7J3ndhUEDtL1 wDMg== X-Gm-Message-State: AOAM532TvDIAWuhYG+CBvw/cmFjmo7RXGEsy2qx2HsdDN6YXeHoFrroh S8zEUGkpIGZp4tDy2ZUmQ+WzspN6xwTJ3kqVFr02oJd7hQmWXQ== X-Google-Smtp-Source: ABdhPJws21J5yUwZJTsUicSjE0Z5TJ3lKioXJYpir0fZ/05LaSONayw+1nkHj+I/8UqFqF9VfDK+syPtN9LKUAboj2s= X-Received: by 2002:a05:6830:1dab:: with SMTP id z11mr3291881oti.247.1606420952022; Thu, 26 Nov 2020 12:02:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Oleksandr Gavenko Date: Thu, 26 Nov 2020 22:02:21 +0200 Message-ID: Subject: Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1 Cc: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, KAM_SHORT, MISSING_HEADERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 20:02:34 -0000 On Thu, Nov 26, 2020 at 9:22 PM Oleksandr Gavenko 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!