Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy-file to remote works only with threads #112

Open
jeswcollins opened this issue Jun 25, 2019 · 3 comments
Open

copy-file to remote works only with threads #112

jeswcollins opened this issue Jun 25, 2019 · 3 comments

Comments

@jeswcollins
Copy link

I'm writing about an issue with async.el we found when investigating an issue with ssh-deploy

(async-start (lambda() (copy-file path-local path-remote t t t t)) (lambda(response) (message "Copied with response: %s" response))

Fails to copy to a remote host (emacs 26, ssh).

Though the copy succeeds with threads (albeit with some timer error messages):
(make-thread (lambda() (message "Copied with response: %s" (copy-file path-local path-remote t t t t))

@thierryvolpiatto
Copy link
Collaborator

thierryvolpiatto commented Jun 26, 2019 via email

@jeswcollins
Copy link
Author

jeswcollins commented Jun 26, 2019

Yes, correct. EDIT: Oh I see the README now. I will add the recommended line to the init file.

@jeswcollins
Copy link
Author

I don't see why I should need an auth-source, I have a key pair for ssh without user and pass. I also don't have use-package at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants