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

ivy-occur yields error when counsel-mode is active #2094

Closed
publicimageltd opened this issue Jun 16, 2019 · 1 comment
Closed

ivy-occur yields error when counsel-mode is active #2094

publicimageltd opened this issue Jun 16, 2019 · 1 comment

Comments

@publicimageltd
Copy link

@publicimageltd publicimageltd commented Jun 16, 2019

I want to transfer the results of a counsel-find-file search to an ivy-occur buffer. I enter the search term and press C-c C-o. The result is an error:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  replace-regexp-in-string("\\\\[(){}|`']\\|[()]" #f(compiled-function (s) #<bytecode 0x1100761>) nil t t)
  counsel--elisp-to-pcre(nil)
  counsel--file-name-filter(t)
  counsel-find-file-occur()
  ivy-occur()
  ... 
  funcall-interactively(counsel-find-file)
  call-interactively(counsel-find-file nil nil)
  command-execute(counsel-find-file)

I found out that this error only occurs when counsel-mode is set. I tried it on a vanilla emacs, the bug persists (only use-package, ivy and counsel were required). Any ideas?

@publicimageltd
Copy link
Author

@publicimageltd publicimageltd commented Jun 19, 2019

Wow, that's a fast fix! I will try it one it's merged and integrated into the new version. Thanks!

astoff added a commit to astoff/swiper that referenced this issue Jan 1, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant