Skip to content

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

@gujiaxi

Description

@gujiaxi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions