-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot open file #74
Comments
How did you set up the |
I use emacs 28 native-comp in MSYS2 and ran into the same issue. I can confirm that for me the problem was with So I went for the more radical, but working solution (also in Powershell) of replacing the find.exe in "C:\Windows\System32" with the one from "C:\msys64\usr\bin". I kept the old file in case, but so far so good. You need to change the permissions for this operation (see here how to gain full control, but I suggest only applying this to the file, not the whole folder, and putting things back after ;)). |
I don't have a windows installation to test this on but it seems like the problem could also be solved by explicitly telling org-fc which version of Invoking (defun org-fc-awk--find (paths)
(format
"C:\mysys64\usr\bin\find -L %s -name \"*.org\" -not -name \".*\" -print0"
(mapconcat
(lambda (path) (shell-quote-argument (expand-file-name path)))
paths " "))) The exact path depends on how and where a compatible Maybe we can also put together a list of paths to use for different installation methods. |
To be clear, from my point of view, this issue is solved (but can't close myself). It's nice from you to give an ad-hoc fix, but I think it's a more general problem, which has actually nothing to do with org-fc itself. So I think you shouldn't waste time with a list of path or any else. There are many answers on that on SO (like my link above) or other places. That's also why I prefer a global fix to it, as I proposed, cause it's anyway a problem for me if To answer your last question, there are 3 main ways of getting unix tools on Windows to my knowledge (I don't count virtualization, like WSL) :
|
I am using Emacs 27.2 and gawk 5.0.0 in Windows.
I failed to review the demo, and the error messages were as follows:
My
.emacs.d/init.el
is as follows:I tried to review my own cards, but the result is similar.
Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: