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#41333: 27.0.91; Spurious errors using TRAMP and auto-save-visited-mode Date: Wed, 22 Jun 2022 17:27:09 +0200 Message-ID: <87r13goh0y.fsf@gmx.de> References: <87leu9vrqs.fsf@gnus.org> <87edznbis9.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="27316"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 41333@debbugs.gnu.org, Philipp Stephani To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 17:28:31 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 1o42HP-0006u2-E1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 17:28:31 +0200 Original-Received: from localhost ([::1]:34020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o42HN-0001rx-Rh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 11:28:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o42Gw-0001rN-OM for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o42Gw-0006mC-FU for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o42Gw-0004FE-CS for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jun 2022 15:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 41333-submit@debbugs.gnu.org id=B41333.165591164016259 (code B ref 41333); Wed, 22 Jun 2022 15:28:02 +0000 Original-Received: (at 41333) by debbugs.gnu.org; 22 Jun 2022 15:27:20 +0000 Original-Received: from localhost ([127.0.0.1]:36330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o42GG-0004EB-0m for submit@debbugs.gnu.org; Wed, 22 Jun 2022 11:27:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:48967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o42GE-0004Dw-V1 for 41333@debbugs.gnu.org; Wed, 22 Jun 2022 11:27:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655911631; bh=LQlY/DC5S4g1HcNHN3qTJgYGSW8tVtEBEcHgCBAXdVc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=YA0RxggBbHfj6QwcpgbAkzgzd65EFfDpVGDNcK4OOgxO4oH6J9uALLLZjYWrj05eQ qOBdJAUgus4mO0U4/PEyF1d6c0hCD48DVXeMvKSC+urTiAWM25A5pohP62Wpckm0Us 4J0KtDF5+SetEa1qtavj7rrxeDPo2zocNlejQlmo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.141]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mof9P-1nJeti0LQP-00p2nZ; Wed, 22 Jun 2022 17:27:11 +0200 In-Reply-To: <87edznbis9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 17 Jun 2022 14:01:42 +0200") X-Provags-ID: V03:K1:oBLBym19GMPFdmKNFerFCltrpk7sK/uQOhvvQwGybOxuK6Dc+lR BAZswC+saVvrcVVL2W5bLtEpBupgGKBz2cv+VcNRItb4Ckyof7aKPidUUzw6zjrk4Da+x69 SkH+FPb52UZTSsofjNu/8OtuJf2ANYAYnJVwf2N9C1x4qRj5KbIUu15erUqSRIAFDhnNBGI fC8r6Cgt1d+F2fGVI6LXQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:rTWDj5OpJcE=:uOH63ibWRTHBfnF8OBf+P4 74oiltn3S/0Md7TPGApCKOMnGC58zit/J9yxs7vYHyK4YW94rby7C+mNruZl5q0vQW6XDlgR/ BaBNTvz4joFwC7Tw01LxL2qaKXX99cLCWHLFAHcTg7uckt8Z8lMK+6ZwosMUMR87pgFxyGExn nNxkRom0NghlN1M94tioqhLfiboigX5ZKmzM8fEUez40X9I7g+p2gA1VxfXb9ynUwXMBkYiji zri4E/7WkXUOs4jZoZSv6r9ZrqgZk/m/D6yjZd1ollrmpc+hHMxh1jrPM03laJb1KtIG2rlCn GiXjufvmC8TsDCVQX6QKffXFbQOKbUXI/6LoDR0WlTi9vklZk7jAk/T+ysNBRFjYOcSUX7PDn P0tiKK4vmy4PW3J+zm5YBlfvjAm1e3Bz0khZcWUSUFWDn2B7oZaV6Jf7blTaJtv1WQZ3zA82F 6DZdNkcSfBYOgVUweyCkv/Qnbj85rCDvFcJzfo8a70yNJqr3EsqZqa+F4QFHnmO6hW1lbg7SP u3R0u0jVTDQNLcKOFJTgxrA65hSyHIODlv0rY3qDoOsdaBfIMZEWaK/y4B85SjzfXzf1UhdeW N/0/jCVI8igNEsAqVX+AxAQuaQZLxRONJCZFjtC42hLfzuvVx1GoFNCV9/gOiHTI2NyDRiZ5s ZwHKSL13RZ3vrumW6T+/TFr/S0Mxcr9ZY4y4n8zJBZQfp+hX4puGJlHkZ0vy5GxnPTiNqYR3m JSB8uH4B6C3jYTJ93LJAXXSkBMVUvUfwXsATuuIjf8cRNcAgLBiU1+FTxPybjHOqBelq2U6O 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:235033 Archived-At: Lars Ingebrigtsen writes: Hi, > Philipp Stephani writes: > >> I've stopped auto-save-visited-mode for remote files due to this bug, >> and recently I've stopped using TRAMP altogether, so personally I >> can't reproduce the problem any more. That doesn't mean the root cause >> is fixed, though; maybe Michael can make some sense of the logs I >> posted? > > Perhaps; I've now added Michael to the CCs. I've played for a while with auto-save-visited-mode and remote files. I couldn't reproduce the problem. As said in the original message, it could depend on user customisation, so there is no guarantee that the problem is gone. auto-save-visited-mode works with an idle timer. This could always be a source of problems, when timers do remote file operations while another remote file operation is in progress. The observation in the original report, that Tramp doesn't handle sent commands and the returned output in order, is an indication of such a problem. With Emacs 28, Tramp has tried better to detect interference of remote file operations, and at least to report them if it isn't possible to solve them. Perhaps this has improved the situation. I'm sorry but w/o any more information I don't know what I could do else. Perhaps we should close the bug, although it is not satisfying w/o knowing what is/was up. However, one possible counter measure is to disable auto-save-visited-mode for remote files, as Philipp did in his setup. Don't know whether this is acceptable, but given that we're unsure whether Tramp works correctly here it might be the better option. Best regards, Michael.