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

counsel-find-file does not work as intended in Tramp when M-x dired-do-copy or M-x copy-file is triggered. It does not go to local when \ C-j is pressed. File path stays in the same directory #2205

Closed
CsBigDataHub opened this issue Aug 18, 2019 · 3 comments

Comments

@CsBigDataHub
Copy link

@CsBigDataHub CsBigDataHub commented Aug 18, 2019

I am using dired-do-copy to copy a file from remote using tramp to local.
When Copy file to path is promted. I used / C-j to go to local path but the path stays in the same directory , does not go to local root from remote.

I have also tried M-x copy-file , M-x gnus-copy-file and I have having the same issue as above.

Emacs version - 26.2
Local Os - MacOs
Remote server OS(Tramp) - RHEL
Swiper version - 20190708.1110

Steps to replicate -

  1. Login to a remote using tramp
  2. Open a directory in remote using dired.
  3. Mark a file to copy, and run M-x dired-do-copy.
  4. Swiper will prompt the path.
  5. Type '/ C-j' to go to local.
  6. The path stays the same.
  7. same thing happens to M-x copy-file in tramp mode too.

Trying to implement this functionality - https://superuser.com/questions/445564/how-do-you-copy-files-from-a-remote-server-to-a-local-folder-in-emacs-using-dire/445568

Also is there a way to disable counsel-find-file/IVY when dired-do-copy is triggered.

2019-08-20_10-26-49

@CsBigDataHub CsBigDataHub changed the title dired-do-copy in tramp does not go to local when \ C-j is pressed. Find file stays in the same directory dired-do-copy in tramp does not go to local when \ C-j is pressed. File path stays in the same directory Aug 18, 2019
@CsBigDataHub CsBigDataHub changed the title dired-do-copy in tramp does not go to local when \ C-j is pressed. File path stays in the same directory counsel-find-file does not work as intended in Tramp when M-x dired-do-copy or M-x copy-file is triggered. It does not go to local when \ C-j is pressed. File path stays in the same directory Aug 20, 2019
@abo-abo abo-abo closed this in beb3aee Aug 22, 2019
@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Aug 22, 2019

Thanks, please test.

@CsBigDataHub
Copy link
Author

@CsBigDataHub CsBigDataHub commented Aug 22, 2019

@abo-abo Thanks . It's working now.

@LauraBMo
Copy link

@LauraBMo LauraBMo commented Nov 20, 2020

Just for the record, C-j is ivy-alt-done

astoff added a commit to astoff/swiper that referenced this issue Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants