You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems possible in helm, and a common use case would be for me to search:
lisp repo user
to first match all file types of '.lisp' type, then narrow to repositories directory, and then finally choose the user.lisp file (so, the candidate should match a target such as src/repository/user.lisp).
I implemented a custom ivy--regex-unordered function (it will generate a regex for every possible combo of terms - obviously quite slow if run against the full obarray list) - if ivy-re-match were modified to accept a list of regexes instead of a single regex (joined via an 'and) this performs nearly as fast as any of the existing ivy search mechanisms.
So, ideally, my search list would be narrowed similar to:
Would a PR similar to that be desirable if it didn't break BC and relied on the user setting ivy-re-builders-alist to include a tuple with values similar to (t . 'ivy--regex-list-build)) - a function that would return a list of regexes (so, listp type) vs a single regex string?
The text was updated successfully, but these errors were encountered:
This seems possible in helm, and a common use case would be for me to search:
lisp repo user
to first match all file types of '.lisp' type, then narrow to repositories directory, and then finally choose the user.lisp file (so, the candidate should match a target such as
src/repository/user.lisp
).I implemented a custom ivy--regex-unordered function (it will generate a regex for every possible combo of terms - obviously quite slow if run against the full obarray list) - if ivy-re-match were modified to accept a list of regexes instead of a single regex (joined via an 'and) this performs nearly as fast as any of the existing ivy search mechanisms.
So, ideally, my search list would be narrowed similar to:
Would a PR similar to that be desirable if it didn't break BC and relied on the user setting ivy-re-builders-alist to include a tuple with values similar to
(t . 'ivy--regex-list-build))
- a function that would return a list of regexes (so, listp type) vs a single regex string?The text was updated successfully, but these errors were encountered: