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#57800: TRAMP insert-file-contents now fails for regions Date: Thu, 29 Sep 2022 19:39:39 +0200 Message-ID: <87v8p6hyg4.fsf@gmx.de> References: <87fsgt4ynq.fsf@gnus.org> <875yhp4xyf.fsf@gnus.org> <87h719j5g6.fsf@gmx.de> <87sfkry80u.fsf@gnus.org> <87o7uyihq6.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="1890"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 57800@debbugs.gnu.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 29 19:50:42 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 1odxgI-0000L0-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 19:50:42 +0200 Original-Received: from localhost ([::1]:47476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odxgG-00018d-Ul for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 13:50:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odxVz-0006Gc-5r for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 13:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odxVy-0006rL-Go for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 13:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odxVy-0003hF-Cw for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 13:40: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: Thu, 29 Sep 2022 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57800-submit@debbugs.gnu.org id=B57800.166447319314184 (code B ref 57800); Thu, 29 Sep 2022 17:40:02 +0000 Original-Received: (at 57800) by debbugs.gnu.org; 29 Sep 2022 17:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:39529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odxVo-0003gh-V4 for submit@debbugs.gnu.org; Thu, 29 Sep 2022 13:39:53 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:32863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odxVj-0003gJ-78 for 57800@debbugs.gnu.org; Thu, 29 Sep 2022 13:39:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664473180; bh=uPzfko08FtvJ5B21PwKbYaNZFVTFTD950bnCaLlfI64=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=byEJQeOW4RB4VYww8ZmBOXVH3ASPKeixV4X0lpTR/v8Eqbr51IRYkI6StPX82NzJO M9v/d79bK1w0DcQ3riXZv7GM8+GjaVu5G52uVxKOZ/Tbc0WDnOQxvz8A/i8O9zi/No i5DLy5aUZpw2bomumi4lZsn6M9AGq1JmSO3wqOnE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.159]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNswE-1otGMe24M4-00ODvb; Thu, 29 Sep 2022 19:39:40 +0200 In-Reply-To: (Paul Pogonyshev's message of "Thu, 29 Sep 2022 13:26:05 +0200") X-Provags-ID: V03:K1:yBoUICKPP3vbOPXzjn0yzdXb9Gn4dUwMS0UEb0m2SspLLfaDd/t 3SVYoRWbwfHdefrGmgL+AZ1OQM3eZYpUrn1c3dJzOoHXJ2XWAlfYJkIYDyt3l0Ay5w3TZNO ZJImb6VdmbM77N33csA82MaKCpdgGXbGBT1isub2tNetfRCkRkx7ceWd56ZpDUk6aYvko2v wLUsrsG2WAwfl9ymmZ5vQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:jCn3cDkmi+I=:he9q5GUc7uJRxr1ofJ4YO5 /rp47tMXllqWeecQHrpmsfmk/qsgYFu8edQTRUDvctSy6H+fnD7mRBO0FoZIReGL45wvhhaSI INf5FsstYvWmEryl3tJbjmq3OcGuc07DjNvefwNu/AmJIIk8/SGmv/bYFLd6oTu5+1LYrEiBH 2x8Mr5Dzjsl29BypMTolAk5ttdUwTvroT2VYb2rB7kJwCNDGjUFQkwGTMf59wDKjQe4sz8McZ mi0F4trP6ExRstwK4X/7nyynK+Lv0EcW/N+4JNhT7fpZ/GCyfLqu1sycW36yOYBaH51KOE2/R JpzGHE4o6827+mKmvA3GwiP5SjM4qhIIquSipl0zEBJ4wSCfsndV15t/FAK6GsfYR3mPrdKeQ C/WPQWHxLwmuWqtKo3+yVxDT5dOk8HCPzgxkXki0MzszxXUpmhY4kZ2dIH1ode58Kf+9N3u6e mehKJs+EQmbER+KG9EOm3o8VJ2LZRelO52TXo78tOknwz46yBYT8L3FhSdlzKhzTtaFzPWiaO rBQoOqv0EP3sy/gcfHG1ErfV0Bjjf6hL4M8n+PrlJJPc/E2vGiQjchqlTwoMPUfN2pUqS0ezv BKLXc0UjHtQPoEgRECS0K49xXbgJ5ReFX8c3buqEY6KtWKNE6nCmKv3ofdUMBDEVJKZD5UW5w qZKuE6WmUPtcxVwv/Q/5hI/vFXzTPWHy75W8T2sT57c4WF2YXhOSDRPY5C9kv+IE6Ikyaavzp 1mOymt3RYNde7BO+z9Y55N3fwPBh9Y2bC2Ntqm76tMGc8QGkwqwLZ7etVNDmsbmRX5KUNnLU 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:243934 Archived-At: Paul Pogonyshev writes: Hi Paul, > No, the bug is not reproducible all the time. I have switched to Emacs > 28 since then, as this breaks functionality important for me. Now > tried to run 29 again, but it doesn't happen anymore, neither with > `-Q' nor without. Also cannot find a backtrace for the same reason > now. > > From the reproducing early today I remember that restarting Emacs > doesn't help - or is at least random, since now a newly started Emacs > doesn't exhibit this problem. It feels like the problem is in some > cache and the cache appears to be persistent (cross-Emacs), if TRAMP > uses something like that at all. > > The files I have noticed this on have names like > "/ssh:USER@HOST#22222:/...", i.e. using SSH backend and a non-standard > port, if that matters. Thanks, this might make a difference when caching files. Ports are used for creating a file name index in the cache, but I'm not certain they are always taken into account, in all dark corners of Tramp. Will analyze. However, it would be great if you could reproduce the bug somehow in an Emacs instance started with --8<---------------cut here---------------start------------->8--- emacs -Q --eval '(setq tramp-verbose 10)' --8<---------------cut here---------------end--------------->8--- If the problem happens, pls show the recipe to provoke, and the Tramp debug buffer. > Paul Best regards, Michael.