Fork me on GitHub
#emacs
<
2018-12-10
>
macrobartfast19:12:25

does anyone know how to grep with projectile in a project other than the currently selected one?

vemv21:12:57

First read a dir name with e.g. (ido-read-directory-name "Where: "), then bind default-directory to that value (`let`) and invoke your grep function within that let The point being, ido-read-directory-name defaults to your current project but you can easily change it to something else

lispers-anonymous20:12:00

In that case I would just use rgrep and point it to the directory of the other project. Not sure how to do with projectile