-
-
Notifications
You must be signed in to change notification settings - Fork 339
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.el (ivy--filter): allow filter to be interruptible with input. #2567
base: master
Are you sure you want to change the base?
Conversation
Why not just change |
I think |
8214c13
to
b689d9d
Compare
Thanks for the update. I think this PR complicates the code too much. Ideally, I would like to have a single Then we need to investigate the cause of the I think it might be because in C-x b RET, the RET has interrupted the initial filter. So maybe we can check that in |
The problem is the |
@abo-abo Friendly ping |
b689d9d
to
f0b0480
Compare
@kiennq Thanks for the code. But I feel it complicates things too much. I think we should instead update/simplify |
Let me see if I can do something. |
This fixes the way the --pcre2 switch is appended when using a PCRE expression for ivy-occur. Fixes abo-abo#2635
50c2826
to
6e8a847
Compare
@abo-abo Sorry for late update. I've push a new update with much smaller size that's using |
c0ea986
to
60c7d79
Compare
@abo-abo Friendly ping |
60c7d79
to
2a9f763
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I can't usefully review this, since I'm not and don't intend to become more familiar with Ivy's low-level architecture. And given @abo-abo's concerns, I especially can't merge this.
BTW: what if the BODY
in ivy--while-no-input
returns t
? It seems like this isn't currently supported, so it might be useful to point this out in the docstring, and make sure that none of the callers can end up returning t
.
This is an attempt to fix the issue in ba37ec22, while still allow
ivy--filter
to be interruptible by keyboard.Test with and the issue reported in ba37ec221ce7a0fce6f881d83895b8f971636cc05 doesn't happens
Note: I've test with both
ivy-switch-buffer
andcounsel-describe-symbol