unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: TRAMP: Problems copying files in emacs-28.0.50 on Windows 10
Date: Mon, 11 Oct 2021 09:23:37 +0200	[thread overview]
Message-ID: <874k9o10ue.fsf@gmx.de> (raw)
In-Reply-To: <86sfx81uy6.fsf@duenenhof-wilhelm.de> (H. Dieter Wilhelm's message of "Sun, 10 Oct 2021 22:33:21 +0200")

[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]

"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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 724 bytes --]

*** /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)

[-- Attachment #3: Type: text/plain, Size: 72 bytes --]


> Thank you very much Michael
>
>       Dieter

Best regards, Michael.

  reply	other threads:[~2021-10-11  7:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09 20:29 TRAMP: Problems copying files in emacs-28.0.50 on Windows 10 H. Dieter Wilhelm
2021-10-10 16:44 ` Michael Albinus
2021-10-10 18:26   ` [External] : " Drew Adams
2021-10-10 18:29   ` H. Dieter Wilhelm
2021-10-10 19:19     ` Michael Albinus
2021-10-10 20:33       ` H. Dieter Wilhelm
2021-10-11  7:23         ` Michael Albinus [this message]
2021-10-11  7:59           ` Michael Albinus
2021-10-11 19:49           ` H. Dieter Wilhelm
2021-10-12 10:59             ` Michael Albinus
2021-10-12 16:22               ` H. Dieter Wilhelm
2021-10-12 16:33                 ` Michael Albinus
2021-10-12 16:56                   ` H. Dieter Wilhelm
2021-10-12 17:31                     ` Michael Albinus
2021-10-10 23:20       ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-10-11  7:45         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874k9o10ue.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).