bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69085: Acknowledgement (29.2; Tramp: Extend tramp-make-copy-program-


From: Michael Albinus
Subject: bug#69085: Acknowledgement (29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods)
Date: Mon, 12 Feb 2024 22:16:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Sean Devlin <spd@toadstyle.org> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]