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

Now we can use "wide find file" on remote directories #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yurii-tov
Copy link

At the moment, "wide find file" feature (M-f) doesn't work on remote directories (e.g. on /ssh:myserver:/some/directory it finds nothing in any case). This commit is intended to fix the problem:

  • We test if a directory are remote (file-remote-p), and if it is, we correct directory path (remove specific prefix), since the path should be passed to "find" program at remote server
  • We also explicitly set working directory since we should run the "find" command on remote server, and our current working directory may be local

At the moment, "wide find file" feature (M-f) doesn't work on remote directories (e.g. on /ssh:myserver:/some/directory it finds nothing in any case).
This commit is intended to fix the problem:
- We test if a directory are remote (file-remote-p), and if it is, we correct directory path (remove specific prefix), since the path should be passed to "find" program at remote server
- We also explicitly set working directory since we should run the "find" command on remote server, and our current working directory may be local
@icebarf
Copy link

icebarf commented Jun 9, 2023

This is not the appropriate place. This is a 3rd party mirror. Go to the mailing lists.

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

Successfully merging this pull request may close these issues.

2 participants