all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 57800@debbugs.gnu.org
Subject: bug#57800: TRAMP insert-file-contents now fails for regions
Date: Fri, 30 Sep 2022 20:39:22 +0200	[thread overview]
Message-ID: <87r0zsiu5h.fsf@gmx.de> (raw)
In-Reply-To: <CAG7BpapCHdakyC8NaYJ9F_Cio6ZBQjmK2b0mLnYJYz3ND24wqg@mail.gmail.com> (Paul Pogonyshev's message of "Fri, 30 Sep 2022 10:49:27 +0200")

Paul Pogonyshev <pogonyshev@gmail.com> 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: master/5fd8e1cc49d2ebd59219ddf3a691949a22b601f3
> 10:26:36.638086 tramp-handle-insert-file-contents (3) # Inserting ‘/ssh:USER@HOST#22222:/PATH’...
> 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.





  reply	other threads:[~2022-09-30 18:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14 12:11 bug#57800: TRAMP insert-file-contents now fails for regions Paul Pogonyshev
2022-09-14 18:08 ` Lars Ingebrigtsen
2022-09-14 18:18   ` Paul Pogonyshev
2022-09-14 18:23     ` Lars Ingebrigtsen
2022-09-14 18:33       ` Paul Pogonyshev
2022-09-15 10:30         ` Michael Albinus
2022-09-16  9:37           ` Lars Ingebrigtsen
2022-09-29  9:24             ` Paul Pogonyshev
2022-09-29 10:43               ` Lars Ingebrigtsen
2022-09-29 11:26                 ` Paul Pogonyshev
2022-09-29 11:27                   ` Paul Pogonyshev
2022-09-29 17:39                   ` Michael Albinus
2022-09-30  8:49                     ` Paul Pogonyshev
2022-09-30 18:39                       ` Michael Albinus [this message]
2022-09-30 18:52                         ` Paul Pogonyshev
2022-09-30 19:11                           ` Michael Albinus
2022-09-30 19:58                             ` Michael Albinus
2022-09-30 20:48                               ` Paul Pogonyshev
2022-10-01 15:18                                 ` Michael Albinus
2022-10-01 16:16                                   ` Paul Pogonyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0zsiu5h.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=57800@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=pogonyshev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.