Understand the filter-string #922
-
When I use
I would like to understand what kind of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
See also https://github.com/minad/consult?tab=readme-ov-file#asynchronous-search. |
Beta Was this translation helpful? Give feedback.
-
The filter string is matched against the results returned by grep using whatever completion styles you have configured, and this happens in emacs, without rerunning grep. I'd say that 90% of the time I don't even need a filter string, and when I do use one it is either on a long running search I don't want to rerun (not very common for me, I just don't have that much data), or, more commonly, because I want to use either partial-completion or flex matching against the grep results (two completion styles which are awkward to express directly as regexps). (N.B. As you can imagine I don't actually use either the partial-completion or flex completion styles, but the corresponding matching styles within orderless.) |
Beta Was this translation helpful? Give feedback.
The filter string is matched against the results returned by grep using whatever completion styles you have configured, and this happens in emacs, without rerunning grep. I'd say that 90% of the time I don't even need a filter string, and when I do use one it is either on a long running search I don't want to rerun (not very common for me, I just don't have that much data), or, more commonly, because I want to use either partial-completion or flex matching against the grep results (two completion styles which are awkward to express directly as regexps).
(N.B. As you can imagine I don't actually use either the partial-completion or flex completion styles, but the corresponding matching sty…