[Top][All Lists]

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

Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10

From: Michael Albinus
Subject: Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10
Date: Mon, 11 Oct 2021 09:23:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"H. Dieter Wilhelm" <> writes:

Hi Dieter,

> Michael Albinus <> writes:
>>> installed: tramp-, then emacs -Q
>> I'm not sure that installed ELPA packages are activated when you run
>> "emacs -Q". Likely, you must load Tramp in your *scratch* buffer (or you
>> don't use "-Q" while testing).
> Please tell me what you mean exactly by loading Tramp in the *scratch*
> buffer?

I meant adapting the load-path, and requiring Tramp then. However, if
you have installed the Tramp ELPA package, you can simply call

# emacs -Q -l ~/.emacs.d/elpa/tramp-

> I'll loaded all 20 tramp sources from their Elpa folder and the
> remote copy operation is working now with emacs -Q. Hurrah!


>> As said, Emacs knows Tramp methods for completion only when you have
>> loaded Tramp.
>> (Also this with Tramp, because there have been changes last months.)
> Right, also completion is working with :-)

Great, again!

> PS: The only thing where I'm a bit confused is why - in emacs -Q - Tramp
> isn't asking me to save the passwords in an .authinfo file?  Did you
> change a customisation in compared to 2.5.1-pre?

Excellent question, I've fixed this two days ago :-) In tramp.el, please
apply the following patch:

*** /home/albinus/.emacs.d/elpa/tramp-      2021-10-05 
15:12:19.990118237 +0200
--- /home/albinus/.emacs.d/elpa/tramp-  2021-10-11 
09:20:41.165536304 +0200
*** 4854,4860 ****
        proc 3 "Waiting for prompts from remote shell"
!       (let (exit)
        (if timeout
            (with-timeout (timeout (setq exit 'timeout))
              (while (not exit)
--- 4854,4861 ----
        proc 3 "Waiting for prompts from remote shell"
!       (let ((enable-recursive-minibuffers t)
!           exit)
        (if timeout
            (with-timeout (timeout (setq exit 'timeout))
              (while (not exit)
> Thank you very much Michael
>       Dieter

Best regards, Michael.

reply via email to

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