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#57279: Tramp slows down some edits of a remove file Date: Fri, 19 Aug 2022 09:14:08 +0200 Message-ID: <87h7281z9b.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6850"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57279@debbugs.gnu.org To: Mikhail Pomaznoy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 19 09:15:21 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 1oOwDx-0001eH-OA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 09:15:21 +0200 Original-Received: from localhost ([::1]:59424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOwDw-0004Cy-Hw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 03:15:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOwDf-0004CN-53 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 03:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOwDe-0001fW-PZ for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 03:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOwDe-00034u-Do for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 03:15: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: Fri, 19 Aug 2022 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57279 X-GNU-PR-Package: emacs Original-Received: via spool by 57279-submit@debbugs.gnu.org id=B57279.166089326211767 (code B ref 57279); Fri, 19 Aug 2022 07:15:02 +0000 Original-Received: (at 57279) by debbugs.gnu.org; 19 Aug 2022 07:14:22 +0000 Original-Received: from localhost ([127.0.0.1]:57299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOwD0-00033i-37 for submit@debbugs.gnu.org; Fri, 19 Aug 2022 03:14:22 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOwCu-00033R-1X for 57279@debbugs.gnu.org; Fri, 19 Aug 2022 03:14:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1660893249; bh=KYKlkJJbycUYEkAK0kqQhcYG47pMVf4r1sjwF/bhM+E=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=LTZAdsKrPsP3ErDGnORwbayMVUpe4wZNnD9j/BvNrzkhEHliOa+GVY35QMEaXVUWs 7bwfGmOTKGheWGjVm04qhFMMa+KPp47AAwkWsMJsnWkFdIK8XP96DJwsliTZaHMbHE slekgDqAbuRgCtorAtVla3EmBhFYvbzmsZ8ASTos= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.112.81]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Ma24y-1nt3rR2SKy-00VznI; Fri, 19 Aug 2022 09:14:09 +0200 In-Reply-To: (Mikhail Pomaznoy's message of "Thu, 18 Aug 2022 22:35:56 +0700") X-Provags-ID: V03:K1:1XYIm5FX4QDwC13UOSOVBLHCpU6dw786DWq9qGaHUvtEKLKztGs ixnTp9VRQwv5RX22qYhevEkgA9kyq3C8tCaOnGWPJUCUBqHYeabl2fDR+zcGg+GEJihumfD 773k0gb3utqrQMWJNroBWVVRs/NsZslW4KmhHROtK5dEGvGULsw0ATQJ7qq9t42573VhUB7 dClVW9n0w8h1MovYBRCbA== X-UI-Out-Filterresults: notjunk:1;V03:K0:MCWAuRXxe3E=:k3XTcv5Ntyf3Mvc0HGOA6h jlqqapJ740iC9iWBVo14qSn8bEh3LVnjqheJ2drWqmsGC4A58pljuunM02jD/l1DxGtg+SQSy QqKHAyvxrvCx3+3ZxC43eTKg1XbQJmRfaXGzuYtHRL3TSF0ASX3dr5TSh1gz5jetZ+P0tzvGX WmDupkVv8LEV9GKoECMdvHg25dTemDOcuVG9s8evCHJ7PAJgOYZF54pGqNDP7saMJTBreOlcj 3baKNbtGcgwtnwmB4lVt0h3+3iu4Wv2V5kFuU6tNGCPqauUhTLeLAMO6pAtG8b7wCkBJT344+ yAAz38HwaVNNQc+4L4USBBw9PTnTjOs0GRA7IIYGotwMGsHE4HGbDvD4u+ENMY3IGl2wPttPz nScOhlmu3HTCSB2H8wGH63wHP6zM1huOJ6V6wTsnCqRcM6/I7RgdRAmMVmtkJGt2JEOTWxCJo a/gVuzABjNf5CcHfo9y0rdVAQGPxSJNO+7mQaXzjhFoVN9HRBA8Ayy2HoAeqintLMcUxKP3Ig bbYcDSmIeTOcnSs+tY2kqKLNp3csLObKsjKTc3PfTIWIKfl/lfwKo781vpgBuaVm/P+mRhXof gIz+G7kmx1s8HkXN0WP8PA3s8KBKCi7AiR0xCobWWtm4HwTX+61vRadSMNMXaZBSy7ieWXFcO YlXWexhcPkWU/Ya1cupDqgOv+dU3UHLdNJ1LQ0AwfQwE8pw0OPnDe9/kijSm07lEePGN52cYw Gom3DquZrQiPz2aJxGJRht5XoqwwA31V6/ZFxkz/HSJbieB164QBp2X0mWK+xC/uLyiXIQuC 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:240192 Archived-At: Mikhail Pomaznoy writes: > Greetings! Hi Mikhail, > When I make the first edit (insert any char or even hit backspace) on > a remote file I just opened it lags. Any edit after that seems to be > fine. Any edit after another save is slow again. > > Any help is appreciated and I am willing to help debug and investigate > if needed. I suspect it is locking of the file. Other candidates for this behavior could be auto-save or backup. Locking of remote files can be suppressed by setting remote-file-name-inhibit-locks to a non-nil value. See also the discussion in the Tramp manual, (info "(tramp) Auto-save File Lock and Backup") > Kind regards, > > -Mikhail Best regards, Michael.