Skip to content

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