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: Fri, 30 Sep 2022 20:39:22 +0200 Message-ID: <87r0zsiu5h.fsf@gmx.de> References: <87fsgt4ynq.fsf@gnus.org> <875yhp4xyf.fsf@gnus.org> <87h719j5g6.fsf@gmx.de> <87sfkry80u.fsf@gnus.org> <87o7uyihq6.fsf@gnus.org> <87v8p6hyg4.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14490"; 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 Fri Sep 30 20:40:24 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 1oeKvw-0003dH-CB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 20:40:24 +0200 Original-Received: from localhost ([::1]:60378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeKvu-0004zY-UX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 14:40:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeKva-0004xl-Sp for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeKva-0006Aq-Iw for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeKva-0007Nh-5R for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 14: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: Fri, 30 Sep 2022 18: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.166456317228321 (code B ref 57800); Fri, 30 Sep 2022 18:40:02 +0000 Original-Received: (at 57800) by debbugs.gnu.org; 30 Sep 2022 18:39:32 +0000 Original-Received: from localhost ([127.0.0.1]:42933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeKv6-0007Mj-Hd for submit@debbugs.gnu.org; Fri, 30 Sep 2022 14:39:32 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeKv4-0007MV-1g for 57800@debbugs.gnu.org; Fri, 30 Sep 2022 14:39:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664563163; bh=adti6YxxyB03hvmGB6SNp5qfgFhtLLzqRlPDxXtpi0M=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=JZ7CfIl3Jlp39QhYc19A5ssw/BA1iwuKYJ/yYHafeFomoWBQm+MGl3phOLqoE8ZWk oovIOfO0cdaCYbGn8RoqG/bleMvDrv4EJp+Szfhsd0V6eoPBOwTGow3ibOlUmtqUJG /VqY9vx2KFE4LgJ1iIet/v0DA1jV8bsuYVQ+yx4o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.159]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N4zAy-1pLOtb1kXs-010ui4; Fri, 30 Sep 2022 20:39:23 +0200 In-Reply-To: (Paul Pogonyshev's message of "Fri, 30 Sep 2022 10:49:27 +0200") X-Provags-ID: V03:K1:j/4YtvIeEm2rhtDoOja+p8bK9Xrfsg4Oyok6yxAe5BAxmSVplwh 86VO4PKRWTw81uwnQYsFSIEo9iai8zz+ryUfgAoGL1M6nvWCvRQlD+NGeZEVL21qwzZbeQ4 UjRJaTXUOTUq1JGXKTh4tgoDSGd23i19oUVFzgaF1jhMCyiRUqcFRvy9Dxe8UroBGUeXC+u Ma9duvCE9TeiZdH8qg1pw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ku3b+mzcIR8=:9eTuLAAcyg5DsnrjdkvH9v E6fnoD7i6g4LzTbmTL4RTzH9qx6GIMdXdU10dhwTh99zY8JGNxKtC2rymrZgudyUthGSW3UV6 D1+nf38rxEe6cGR2bx4yvgVwWGuwzmHUIWdSaWhY+68sLs4ZyHEFdKC6udfqKs+EEMlP9hgdn JUUXWOkpyXpkYBIRipbA0W7FkMEe9CFy3Igxhp5aucE4aV7wGJ47En27R6FinYBgKOPJPMlwX Pi725EMpgBRDzIWmwGCj3l9mlJYHK+eSPNpXITOK0oJo2oomCQ+9uJ7z/2nuH+Pq+aKFx/mHN MZ82y6lbhAS6SIzghukudVAM3uiwSiYPkyjkxMbO6qIOr+d2j7IupTleKYuaflQuLJcteEs36 ryz92+QabvOXgxWv2oAjUVq0TJjmdaECKPJl0LQSw6/sosibytNvCYu7p2ep4fpQfkiewgtyL kqKNMJ9Ci2//CodnlXFXkZE1M6cpKGR5yCHnNairniL79j4gThAePImsElp/33JkSu6v4OuRn 0JftBhMj5CS8419CCB7IvY03/GXzsSrkI3GTYAWofe1fTkeaqmcSaJdsmN6lvODWp+XU3juXx 1e89ah0POaAWhbjlXVF3m9z8M5WUuuuPgBkySTHz3gUCvjC0pTV82jqP94tiqlE0a0BHretkd SplC9QNEXlWVFAZkWFDKcENPZuX7tqcWdTgdFo3LGQClm6q0G6bnrlSfNCtkaartvl5IAhkP9 ZyMR7Rx/fMVQYbflOwU1KWXPogN7+uQHOov3hnxhJnpf+nJm44Z2CzEXRZw54q9oMyGS0mLv 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:244048 Archived-At: Paul Pogonyshev writes: Hi Paul, > Happened again. See attached `BACKTRACE' and `TRAMP-LOG' generated > after evalling `(setf tramp-verbose 10)'. I guess you mean setq. > Note this suspicious entry in the log: > 10:26:36.864700 tramp-get-remote-tmpdir (1) # File error: Directory > /ssh:USER@HOST#22222:/ssh:USER@HOST#22222:/tmp not accessible Yes. And the debug buffer shows us --8<---------------cut here---------------start------------->8--- > ;; Emacs: 29.0.50 Tramp: 2.6.0-pre -*- mode: outline; coding: utf-8; -*- > ;; Location: /usr/local/share/emacs/29.0.50/lisp/net/tramp.elc Git: maste= r/5fd8e1cc49d2ebd59219ddf3a691949a22b601f3 > 10:26:36.638086 tramp-handle-insert-file-contents (3) # Inserting =E2=80= =98/ssh:USER@HOST#22222:/PATH=E2=80=99... > 10:26:36.639033 tramp-get-connection-property (7) # remote-tmpdir undef; = cache used: nil > 10:26:36.639200 tramp-get-connection-property (7) # tmpdir /ssh:USER@HOST= #22222:/tmp; cache used: t > 10:26:36.639335 tramp-get-connection-property (7) # tmpdir /ssh:USER@HOST= #22222:/tmp; cache used: t --8<---------------cut here---------------end--------------->8--- The value of of "tmpdir" is completely wrong, it must be something like "/tmp" or so. Tramp doesn't set this connection property anymore; it takes it from tramp-methods if declared there. It was set like this prior commit 9ea40b3ddfb of 2022-08-15, likely your cache did offer this old value. Could you pls apply "M-x tramp-cleanup-all-connections" in order to clean up the connection cache, and retry your test? Best regards, Michael.