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-dired-jump does not respect "find-program" #1181

Closed
rgemulla opened this issue Sep 4, 2017 · 1 comment
Closed

counsel-dired-jump does not respect "find-program" #1181

rgemulla opened this issue Sep 4, 2017 · 1 comment

Comments

@rgemulla
Copy link

@rgemulla rgemulla commented Sep 4, 2017

I am using Emacs on Windows and customized the variable find-program to point to Cygwin's find executable. counsel-dired-jump does not respect this variable, however. This patch fixes the problem:

-              (split-string
-               (shell-command-to-string "find * -type d -not -path '*\/.git*'")
-               "\n" t)
+              (split-string
+               (shell-command-to-string (concat find-program " * -type d -not -path '*\/.git*'"))
+               "\n" t)

The same issue arises in counsel-file-jump.

@abo-abo abo-abo closed this in a770ddd Sep 4, 2017
@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Sep 4, 2017

Thanks.

I remember having some success a year ago running a graphical Emacs installed from Cygwin. The integration was very seamless - 0 lines of customization compared to my Linux config. Except the display felt a bit clunkier compared to the native build. Just a suggestion, if you haven't tried it yet.

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
2 participants