Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm-do-grep-ag with file type selector failed when helm-adaptive-mode is on. #1764

Closed
gujiaxi opened this issue May 4, 2017 · 2 comments
Closed

Comments

@gujiaxi
Copy link

gujiaxi commented May 4, 2017

Expected behavior

File type selector will show up to select for ag/rg.

Actual behavior from emacs-helm.sh if possible (See note at bottom)

When helm-adaptive-mode is on, run helm-do-grep-ag with type selector will fail with error "Wrong type argument: lisp, \.\.\.".

Steps to reproduce (recipe)

  1. My setup for helm.
(use-package helm
  :config
  (require 'helm-config)
  (helm-mode)
  (helm-adaptive-mode t)
  (setq helm-grep-ag-command "rg --color=always --smart-case --no-heading --line-number %s %s %s")
  :bind
  (("C-x g" . helm-do-grep-ag)))
  1. Start helm-do-grep-ag with type select using C-u C-x g.

Describe versions of helm, emacs, operating system etc.

Emacs: 25.1.1 on MacOS Sierra (brew cask install emacs)
Helm: helm-20170503

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented May 4, 2017 via email

@gujiaxi
Copy link
Author

gujiaxi commented May 4, 2017

@thierryvolpiatto Thanks, it works.

@gujiaxi gujiaxi closed this as completed May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants