bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

search broken when not in root dir of project #131

Closed braineo closed 5 years ago

braineo commented 5 years ago

Expected behavior

Can do helm-projectile-rg in any sub-directory in a project

Actual behavior

b62cea69c1fc292c577935e8e58d1bf3bb258b43 listed all project files to search, helm-rg will concatenate files with current working directory which results in path not found

Steps to reproduce the problem

open file in a sub folder of a project, do helm-projectile-rg and search anything

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

Environment & version information

yeliu84 commented 5 years ago

I have the same issue. Now I need to set helm-rg-default-directory to 'git-root to workaround this issue.

xiongtx commented 5 years ago

Sorry about that, I've reverted the commit.

gayanhewa commented 4 years ago

I get this triggered every time I run helm-projectile-rg

Error running timer: (error "Candidates function ‘helm-ag--do-ag-candidate-process’ should run a process") [3 times]

I also have :

(use-package helm-rg
  :config
  (setq helm-rg-default-directory 'git-root))

Am I doing anything wrong?

willnevillain commented 4 years ago
Error running timer: (error "Candidates function ‘helm-ag--do-ag-candidate-process’ should run a process") [3 times]

@gayanhewa that error appears to pertain to the helm-ag package, do you have any configuration related to that (or is maybe the keybinding bound to helm-ag instead)?

gayanhewa commented 4 years ago

Oh 🤦‍♂ , I will try to take a look. I managed to get helm-ag to work, for the time being, I will revert my changes and reset the key bindings to check this again. 🙇