From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#54294: 29.0.50; Emacs can't unlock files with --no-build-details Date: Tue, 08 Mar 2022 08:55:07 +0100 Message-ID: <87mti0x4is.fsf@gmx.de> References: <87v8wp8zks.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Philipp Stephani , 54294@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 08 09:03:02 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRUoA-0004Vf-As for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 09:03:02 +0100 Original-Received: from localhost ([::1]:34802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRUo9-00035n-CO for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Mar 2022 03:03:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRUhO-0001SO-1I for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 02:56:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRUhN-00033i-Oj for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 02:56:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRUhN-0003sv-Kk for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2022 02:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2022 07:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54294 X-GNU-PR-Package: emacs Original-Received: via spool by 54294-submit@debbugs.gnu.org id=B54294.164672611914883 (code B ref 54294); Tue, 08 Mar 2022 07:56:01 +0000 Original-Received: (at 54294) by debbugs.gnu.org; 8 Mar 2022 07:55:19 +0000 Original-Received: from localhost ([127.0.0.1]:55094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRUgg-0003rz-OZ for submit@debbugs.gnu.org; Tue, 08 Mar 2022 02:55:18 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:38135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRUge-0003rk-UJ for 54294@debbugs.gnu.org; Tue, 08 Mar 2022 02:55:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646726109; bh=GOkVLgjmLSYnaksMQFdkNQCImQlLv82LKItlyJxUjFo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OAvQ0qTKi1Seq19xpez9WAy8/0ajJ0H+nQVDa72w2W8VVqR1G9Ai8dekqSJ36ulaR xxzLXFup+9VDuBn8fx+rYUIyVKOdpVs1wdL/I1trM9SsttxgM/x51xGrjJPd7Gp7gM g9Fy2QGwL9wlvSaJEWQhh81BJpfAeaEAS3oYIwQs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.72]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8GQy-1oE9EL2GmW-014EwQ; Tue, 08 Mar 2022 08:55:09 +0100 In-Reply-To: <87v8wp8zks.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Mar 2022 18:03:31 +0100") X-Provags-ID: V03:K1:jkvp5zFVwbGgfYhVU/4v8f+kS8+GS/m6GGS/IBKi7hLYd0qJ2JU aq16hccfdyAhSOG1c6oTFauRRtxtbPNzoKF7nTXSVZR/MjvuRePDuyBo/S//Hq52JmXVumO UOO/5rcR0vP2k9Z6NGIsSzqHSY1Xoo1y48ROuxZD8Uh7uKQlvoliZE/A8Qc+NXvA4Gh+Q9X +Sa+KLLp1cve9Tpwp48xA== X-UI-Out-Filterresults: notjunk:1;V03:K0:maWFuRBG8tI=:gAjpG+g1MisyGufmGmK5oF /uSeSbi3T1I5z+Pm/SKkhJZm9UAo7xzExGAzGW2NUK5fCJDcVD15nd5Jt1H2DZ+TfH2wEB3cb j2u/lc7ZRhLEyHh8XeQV+EIko13KPFspPKx2MeigB8k1tj9d/ri1VPFjr/K16V5FNOK0mYmI/ 5Gr/wuziY3j5vUzG25AD945G+Z4Oru/07Cppcyrr/fJJB13sN2naqIiXUrUjICzPt2p0uifFE 41VjbRWZ3nMA0XzTOjIX2BtFVWPJfEV/Fz0HDIX7jSuAkUFOLxxeJa5pKoPuk9wirrSTb1zel O1og79pLqaCSziCIbsQIhtMdXr96FV/YWS+0ZL+8/OGFmAxqX+KpDwlA2TnP+R8yKtx55CFRx IRXf//XsJJxvVkfApCw1+7LMBsvDPiW+w7C5T9Ycha1hjJ5FBqi4DH++CVJQAgP5yXvIkfF7s 48O1cmG/WFdyya4EgZEu9tWGfwE7ht50DTXOYQThfqzFjQEq843LaXm6O3qLIEoHqBATPksM4 NK2kypn/lJo68zKcEE2HVqkPprcbusBlTYlYjP1wVN2g1qor6F39uxBwUu5WodoYQ6rSpFIWL CoDqAgxmbVkEEY8BFdzuDM4/YE7kq08oMGTIhhxCL9Y3iOfQ7Eb6GXalNzB+pyh9C06xTwGF0 E7IVsikRBykkPPwMQ+bjsuvsuTGVtu5P0ojDivVPis1qLZcO+0r2+dNtjo34As9aG1sIh2PYL cFIhHYQlITPWBlageaKqrBau7TA7nm8zKsZV+kk3Ek9eQcHOrQrGv75OB9zmWpy5zlck/GDL X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228131 Archived-At: Lars Ingebrigtsen writes: Hi, >> emacs -Q -batch --no-build-details -eval '(write-region "" nil "/tmp/test.txt")' >> >> /tmp/.#test.txt still exists. This is probably because the function >> `current_lock_owner' doesn't handle the case where `system-name' returns >> nil (it assumes the file is remote in that case). > > Yup. I've now made the obvious fix in Emacs 29. I've applied a similar patch for Tramp, pushed to master. Will also be available with Tramp 2.5.2.3, the next GNU ELPA release. Best regards, Michael.