Open starenka opened 2 years ago
rg is called
crashes
run helm-projectile-rg
helm-projectile-rg
M-x toggle-debug-on-error
Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 3) helm-rg("" nil ("/home/starenka/.emacs.d/")) (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root)))) (if (projectile-project-p) (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root)))) (error "You're not in a project")) (if (require 'helm-rg nil t) (if (projectile-project-p) (let ((helm-rg-prepend-file-name-line-at-top-of-matches nil) (helm-rg-include-file-on-every-match-line t)) (helm-rg (helm-projectile-rg--region-selection) nil (list (projectile-project-root)))) (error "You're not in a project")) (if (yes-or-no-p "`helm-rg' is not installed. Install? ") (progn (condition-case nil (progn (package-install 'helm-rg) (helm-projectile-rg)) (error "`helm-rg' is not available. Is MELPA in your `pac..."))))) helm-projectile-rg() funcall-interactively(helm-projectile-rg) call-interactively(helm-projectile-rg nil nil) command-execute(helm-projectile-rg)
helm-projectile
helm
helm-pkg.el
projectile
M-x projectile-version
M-x emacs-version
I also get this.
Expected behavior
rg is called
Actual behavior
crashes
Steps to reproduce the problem
run
helm-projectile-rg
Backtraces if necessary (
M-x toggle-debug-on-error
)Environment & version information
helm-projectile
version: 1.0.0helm
version (inhelm-pkg.el
): 3.8.8projectile
version (M-x projectile-version
): 20221004.1327M-x emacs-version
): 27.1