[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" <dieter@duenenhof-wilhelm.de> writes:
Hi Dieter,
> Michael Albinus <michael.albinus@gmx.de> writes:
>>> installed: tramp-2.5.1.3, 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-2.5.1.3/tramp-autoloads
> I'll loaded all 20 tramp 2.5.1.3 sources from their Elpa folder and the
> remote copy operation is working now with emacs -Q. Hurrah!
Great!
>> As said, Emacs knows Tramp methods for completion only when you have
>> loaded Tramp.
>>
>> (Also this with Tramp 2.5.1.3, because there have been changes last months.)
>
> Right, also completion is working with 2.5.1.3. :-)
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 2.5.1.3 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-2.5.1.3/tramp.el.~1~ 2021-10-05
15:12:19.990118237 +0200
--- /home/albinus/.emacs.d/elpa/tramp-2.5.1.3/tramp.el 2021-10-11
09:20:41.165536304 +0200
***************
*** 4854,4860 ****
(save-restriction
(with-tramp-progress-reporter
proc 3 "Waiting for prompts from remote shell"
! (let (exit)
(if timeout
(with-timeout (timeout (setq exit 'timeout))
(while (not exit)
--- 4854,4861 ----
(save-restriction
(with-tramp-progress-reporter
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.
- TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/09
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/10
- RE: [External] : Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Drew Adams, 2021/10/10
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/10
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/10
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/10
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10,
Michael Albinus <=
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/11
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/11
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/12
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/12
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/12
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, H. Dieter Wilhelm, 2021/10/12
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/12
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Stefan Monnier, 2021/10/10
- Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10, Michael Albinus, 2021/10/11