tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.4.3.27.1 nil/nil); error renaming to remote a file with spa


From: Michael Albinus
Subject: Re: tramp (2.4.3.27.1 nil/nil); error renaming to remote a file with spaces in name
Date: Mon, 18 Jul 2022 16:21:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Francesco Potortì <pot@gnu.org> writes:

Hi Francesco,

> I ended up putting this in my .emacs, which seems to work for me:
>
> ;; Tramp < 2.6: add -O option to scp
> (when (string< tramp-version "2.6")
>   (setf (cdr (assoc `tramp-copy-args (assoc "scp" tramp-methods)))
>       (list (delete-dups (append `(("-O"))
>                                  (car (cdr (assoc `tramp-copy-args
>                                                   (assoc "scp" 
> tramp-methods)))))))))

Looks good. I'd rather use string-version-lessp, but that's a nitpick :-)

Best regards, Michael.



reply via email to

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