From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.bugs Subject: bug#62614: Tramp attempts to remove lock file with 'remote-file-name-inhibit-locks t Date: Mon, 03 Apr 2023 20:50:09 +0200 Message-ID: <87edp0zth5.fsf@wavexx.thregr.org> References: <87pm8mv2ex.fsf@wavexx.thregr.org> <87pm8lqs69.fsf@gmx.de> <874jpx1fn4.fsf@wavexx.thregr.org> <87mt3pcmv3.fsf@gmx.de> <87zg7pz2yx.fsf@wavexx.thregr.org> <87v8idz2qc.fsf@wavexx.thregr.org> <87jzytqmva.fsf@gmx.de> <87iledypuz.fsf@wavexx.thregr.org> <878rf90vvq.fsf@gmx.de> <83fs9gvrs8.fsf@gnu.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="4863"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.0; emacs 30.0.50 Cc: 62614@debbugs.gnu.org, Michael Albinus To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 03 20:56:29 2023 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 1pjPLv-00011j-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Apr 2023 20:56:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjPLd-00009I-2Z; Mon, 03 Apr 2023 14:56:09 -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 1pjPLW-00008E-QZ for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjPLW-0005aT-IL for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjPLW-0006wC-E7 for bug-gnu-emacs@gnu.org; Mon, 03 Apr 2023 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuri D'Elia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Apr 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62614 X-GNU-PR-Package: emacs Original-Received: via spool by 62614-submit@debbugs.gnu.org id=B62614.168054810826338 (code B ref 62614); Mon, 03 Apr 2023 18:56:02 +0000 Original-Received: (at 62614) by debbugs.gnu.org; 3 Apr 2023 18:55:08 +0000 Original-Received: from localhost ([127.0.0.1]:45259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjPKe-0006qi-DM for submit@debbugs.gnu.org; Mon, 03 Apr 2023 14:55:08 -0400 Original-Received: from erc.thregr.org ([46.43.2.63]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjPKc-0006qI-8p for 62614@debbugs.gnu.org; Mon, 03 Apr 2023 14:55:07 -0400 Original-Received: from [37.162.224.28] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1pjPKc-000rAW-3C (envelope-from ); Mon, 03 Apr 2023 20:55:07 +0200 In-reply-to: <83fs9gvrs8.fsf@gnu.org> 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:259204 Archived-At: On Mon, Apr 03 2023, Eli Zaretskii wrote: >> > On Mon, Apr 03 2023, Eli Zaretskii wrote: >> >> How about trying to remove the lock file, but if creation of lock >> >> files is disabled, suppressing the warning? >> > >> > As above. >> >> See appended patch. > > LGTM, thanks. > >> Shall it go to the emacs-29 or master branch? > > Master, please. As for this specific bug report, I'd close it as "fixed". The spurious warning was definitely my main complaint. As for the extra attempt to remove the remote file, I can't think of anything better at this moment than manually fset'ing the function.