Subject: bug#69085: Acknowledgement (29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods)

From: Michael Albinus <[email-masked]>
Date: Mon, 12 Feb 2024 22:16:31 +0100

Sean Devlin <[email-masked]> writes:

Hi Sean,

> I was able to work around the issue by advising tramp-make-copy-program-file-name:
>
> (defun tramp-mymethod-make-copy-program-file-name (vec)
>   (when (tramp-mymethod-file-name-p vec)
>     (let ((localname
>            (directory-file-name (tramp-file-name-unquote-localname vec))))
>       (format "myprefix:%s" localname))))
>
> (advice-add 'tramp-make-copy-program-file-name
>             :before-until #'tramp-mymethod-make-copy-program-file-name)

It is nice that it works for you. But as I said the other message, I'd
like to understand the problem. So pls show your custome method spec.

Best regards, Michael.