I got thankfully introduced to use helm and helm-projectile for all the goodies it has and especially the helm-projectile-grep-search
. I must say, this supercharged Emacs by a long shot. I learned that from this great tutorial : http://tuhdo.github.io/helm-projectile.html. Unfortunately, everyhting else was fine except grep search-related commands, they throwed this error by invoking them on my machine:
Error during redisplay: (eval (helm-show-candidate-number (car-safe helm-mode-line-string))) signaled (wrong-type-argument integer-or-marker-p nil) [6 times]
Error running timer helm-projectile-grep-or-ack: (wrong-type-argument stringp nil)
The same error was issued when I used C-s
or C-u C-s
recursive grep search while in helm-find-files
bound to C-x C-f
. I run this on marked files with C-SPC
.
But rgrep
works well which is built in Emacs (see image below). So I don't know what am I missing to get grep search work.
Notes
Machine: Windows 7 32bit.
Emacs 24.4
Helm/Projectile/Helm-projectile all updated from MELPA.
I have installed Cygwin and added to Path:
rgrep
used the built-ingrep
(written in Elisp) whilehelm-projectile-grep
needs the externalgrep
. If you don't like Cygwin, probably you should look at Mingw-w64, install it and set $PATH point to its binary directory.c:\emacs
not in program files. I added to pathc:\cygwin\bin
. What am I missing?M-x getenv RET PATH RET
, theC:\cyqwin\bin
appears first, restart Emacs, I get the same error when doing grep search.