From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#70900: 30.0.50; tramp complains "File error: Cannot remove lock file for /ssh:..." on every save when remote-file-name-inhibit-locks is non-nil Date: Mon, 13 May 2024 14:11:55 +0300 Message-ID: References: <847791f3-e5ed-47d1-87b7-e6e95fb0b8d3@gutov.dev> <87r0e6gsqa.fsf@gmx.de> <86seymxkub.fsf@gnu.org> <87frumgogm.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23960"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70900@debbugs.gnu.org To: Michael Albinus , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 13 13:13:24 2024 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 1s6TcS-00062s-6N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 13:13:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Tc9-0007AB-VA; Mon, 13 May 2024 07:13:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6Tc6-00079t-KB for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 07:13:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6Tc6-00046B-BU for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 07:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Tc6-0003Aj-9W for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 07:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2024 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70900 X-GNU-PR-Package: emacs Original-Received: via spool by 70900-submit@debbugs.gnu.org id=B70900.171559872712177 (code B ref 70900); Mon, 13 May 2024 11:13:02 +0000 Original-Received: (at 70900) by debbugs.gnu.org; 13 May 2024 11:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:60335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6TbD-0003AK-Cg for submit@debbugs.gnu.org; Mon, 13 May 2024 07:12:07 -0400 Original-Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:47107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6TbA-00039p-Nj for 70900@debbugs.gnu.org; Mon, 13 May 2024 07:12:05 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 1182C1140081; Mon, 13 May 2024 07:11:59 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 13 May 2024 07:11:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1715598719; x=1715685119; bh=L9jHARdljHsu3692KdlNK55IInk5fTE0tycP2MMEszM=; b= AgLFQeJ409Ba23onMhxMvg+zhCBmrjW7aFxIlygCugFovtWvGbKUaMGbyzcqn3EA GXj4Y242Y9+BFavuAURDq52kYsaOQu2cemso+JbRA7h9fp6Uw1lKQshimkg21E0F S26koyETx7PXGeiEj/qI/Ah+T55HZY5MDfd1PytTFvgKAixAUHp66xrPqLsU4epo xdk58KcJ/mTFmj+Kbh5zudMx9LDnhxO4Im+waBGHh8+CHnus8mT5ZLaqRd9E0ngf PDEhF7+CH1IalJxsxRFWUHt+FXnYP9+2iwcX+0XYHgHIpZVpJQTc+mAT2Guv3EVE a7y1WoatoeztztTxZZHU+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715598719; x= 1715685119; bh=L9jHARdljHsu3692KdlNK55IInk5fTE0tycP2MMEszM=; b=O I3IP3Dno63S+SUR+PKuBZrJCuxsarn98RDntxgZB1Z+zYy5c8UqGQQcQccsA0F07 EL7Dlhi7UGgLMRxwh0pnLUVfgAXfSeSW7uQv0BusIFq8Xkg+Htjea6UNQF1yYQ8B y+BX7+3JvH0GFFdr0Nt6gNC9xbWxtK9/Kp+MRX5VbDn1t3ll3v0/RCTKz2x3FOJz I70/EBFKd13/uvB3xKWxjZDs+0BBfZK0NJP9fjKRRECgLoYlyDt12x3ri8trW2tx wtYAB4m1/CVUQ6bQa9TReR5Ub/OaNp5GA3bPALl7mu6cwILeq3P3wxpvCmqwtSO/ V10I80tVXOLudpHYdYedg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeggedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 May 2024 07:11:57 -0400 (EDT) Content-Language: en-US In-Reply-To: <87frumgogm.fsf@gmx.de> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284967 Archived-At: Hi Michael, On 13/05/2024 10:28, Michael Albinus wrote: >>> The description of remote-file-name-inhibit-locks says "Whether to >>> create file locks for remote files.". And this is what Tramp >>> does. Nothing said about checking/removing of lock files. >>> >>> If we want to suppress these actions as well, we shall agree about, and >>> change the doc. Eli? >> I think making the failure to remove be silent in this case is enough. >> If the user sets this variable to t, they are not interested in >> failures to remove lock files, even if it's for reasons other than >> "file does not exist". >> >> IOW, it's okay to try to remove lock files, but if that fails, Emacs >> should not display any error messages. > Done, pushed to master. Anything else, Dmitry? It's a good enough resolution for me. Thank you.