grizzl / fiplr

[DEPRECATED] An Emacs Fuzzy Find in Project Package
187 stars 14 forks source link

fiplr error (Windows) on fiplr-find-file: (void-function exit-fun) in grizzle #33

Open apennebaker opened 10 years ago

apennebaker commented 10 years ago

When I try to fiplr-find-file in Windows, Emacs launches the debugger, complaining of a missing function exit-fun in grizzle.

System:

C:\>specs emacs os
Specs:

specs 0.7
https://github.com/mcandre/specs#readme

emacs --version
GNU Emacs 24.3.1
Copyright (C) 2013 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 7 Enterprise
OS Version:                6.1.7601 Service Pack 1 Build 7601

Anyone have success with fiplr or grizzle in Windows?

ahmadseleem commented 10 years ago

same issue

cdwfs commented 10 years ago

I just got fiplr working in Windows. I didn't have any problems with grizzl; my main issue was that fiplr-list-files-shell-command expects a UNIX-style "find" command; the MS-DOS "find" command doesn't work at all, and generates no results. When I changed that one function to invoke find.exe from the GNU findutils, everything works correctly.

I do wish there were a more straightforward way to handle Windows. Maybe add a customization variable to set the path to the "find" command, instead of using the first one it finds in the search path?

shivjm commented 10 years ago

I think that could be achieved by changing fiplr-list-files-shell-command to use find-program if available, so line 252 would read:

             `(,(or find-program "find")

And the user could then point find-program at the appropriate path. This works for me.