alezost / bui.el

Buffer interface library for Emacs
GNU General Public License v3.0
114 stars 10 forks source link

Add interactive filter predicates #7

Closed vapniks closed 3 years ago

vapniks commented 4 years ago

I've added the ability to use interactive functions as filters (see apply-interactive), and 2 filters that use this functionality; bui-filter-by-col & bui-filter-by-expr. Unfortunately I had to make use of eval to enable this functionality.

alezost commented 3 years ago

Sorry for this long delay :blush:

I made some changes and applied it as commit ab62fcefc3c7ddf5e5d64c18045148a3c297592d

I also renamed the functions to bui-apply-interactive, bui-filter-by-regexp and bui-filter-by-sexp. This interactive filtering is impressive; I could never come up with such a complex code. Thank you!