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

counsel-find-file issue #1466

Closed
matthewa150 opened this issue Feb 20, 2018 · 12 comments
Closed

counsel-find-file issue #1466

matthewa150 opened this issue Feb 20, 2018 · 12 comments

Comments

@matthewa150
Copy link

Updated my packages earlier today to find that counsel-find-file was no longer working. When I run it, after typing the first character (doesn't matter the char) it throws an error and the autocomplete for it breaks:
Error in post-command-hook (ivy--exhibit): (wrong-type-argument stringp (("D" . t)))

If needed I can dump a list of my layers and what not.

hmmm

@habamax
Copy link

habamax commented Feb 20, 2018

I have slightly different error message:

Error in post-command-hook (ivy--queue-exhibit): (wrong-type-argument stringp (("a" . t)))

First letter I try to input is in stringp (("a" . t)) -- here it was 'a'.

After reopening counsel-find-file and pressing D:

Error in post-command-hook (ivy--queue-exhibit): (wrong-type-argument stringp (("D" . t)))

PS
I have deleted all ivy/counsel/swiper stuff and reinstalled from melpa -- the same errors.

@abo-abo
Copy link
Owner

abo-abo commented Feb 20, 2018

Can't reproduce with make plain. What's your Ivy config?

@abo-abo
Copy link
Owner

abo-abo commented Feb 20, 2018

OK, I assume this config is relevant:

(setq ivy-re-builders-alist
      '((t . ivy--regex-ignore-order)))

The other two re-builders seem to work fine.

@habamax
Copy link

habamax commented Feb 20, 2018

yes, indeed I have ivy--regex-ignore-order

@Atman50
Copy link

Atman50 commented Feb 20, 2018

Yes that fixes the problem. Thanks! Any idea how to fix the issue? I like the unordered regexp

@matthewa150
Copy link
Author

I added the ivy--regex-ignore-order and I don't think it did anything. As for my config it believe it is just the standard ivy install (though I am using the standard dotspacemacs-distribution if that changes anything`

I also noticed today that my swiper is giving my problems as well:

swiper--add-overlays: Symbol’s function definition is void: ivy--case-fold-p

Not sure if these two issues are related

@basil-conto
Copy link
Collaborator

@Atman50 @matthewa150 I think there's been a misunderstanding.

I'm pretty sure @abo-abo is saying that ivy--regex-ignore-order is the culprit, not the fix.

@abo-abo
Copy link
Owner

abo-abo commented Feb 20, 2018

Thanks, please test.

@Atman50
Copy link

Atman50 commented Feb 20, 2018 via email

@matthewa150
Copy link
Author

@basil-conto @abo-abo Yeah... classic me, was a misunderstanding - I disabled it and everything seems to be working fine now, thanks for the help!

@matthewa150
Copy link
Author

Well - I just noticed that disabling the ivy--regex-ignore-order seemed to cause my swiper to break.
Error in post-command-hook (ivy--queue-exhibit): (void-function nil)
After some messing around I found that disabling the spacemacs-completion layer makes both the swiper and counsel-find-file work

@tsmithe
Copy link

tsmithe commented Sep 28, 2019

(I have moved my comment to issue #2249, as it may not be the same after all, and this issue is 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
Development

No branches or pull requests

6 participants