bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

helm-projectile-grep doesn't work, but projectile-grep work well #86

Closed emacsliu1107 closed 6 years ago

emacsliu1107 commented 6 years ago

Expected behavior

show the filtered result

Actual behavior

Error running timer: (error "In Grep' source:helm-grep-collect-candidates' (void-function format-spec)")

Steps to reproduce the problem

I was using helm-projectile to learning kubernetes source code. M-x projectile-global-model M-x helm-projectile-on using helm-projectile-grep to filter file.

Backtraces if necessary (M-x toggle-debug-on-error)

Environment & version information

emacsliu1107 commented 6 years ago

e..... Now I use helm-ag to replace this function.

shiyuangu commented 6 years ago

I had the same problem. Looks like that the package format-spec is not loaded by helm-projectile. the problem is gone if I add (require 'format-spec) before loading helm.

emacsliu1107 commented 6 years ago

😏helm-ag may be a better choice.

https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?iconUrl=http://nos.netease.com/mail-online/sm9331f671c08cac8da1866923d0e6846b.jpg&name=shualliu&uid=shualliu%40outlook.com&ftlId=3&items=%5B%22%E9%82%AE%E7%AE%B1%EF%BC%9Ashualliu%40outlook.com%22%5D [http://nos.netease.com/mail-online/sm9331f671c08cac8da1866923d0e6846b.jpg] shualliu 邮箱:shualliu@outlook.com

签名由 网易邮箱大师http://mail.163.com/dashi/android.html?from=mail28 定制

在2018年02月08日 10:44,shiyuangumailto:notifications@github.com 写道:

I had the same problem. Looks like that the package format-spec is not loaded by helm-projectile. the problem is gone if I add (require 'format-spec) before loading helm.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bbatsov/helm-projectile/issues/86#issuecomment-363984813, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVsdiQ3fLU9b3A32j62y6Ctzu3vy6LAkks5tSl-PgaJpZM4P5zWN.

xiongtx commented 6 years ago

helm-projectile-grep uses helm-grep; it seems helm-grep uses format-spec w/out requireing it.

I've opened emacs-helm/helm#1993 to fix that. Therefore, this can be closed.