Open BooAA opened 3 years ago
ivy-occur
, for all its issues, is meant to replace the built-in occur
; see (info "(emacs) Other Repeating Search")
.
So if tabulated-list-mode
were to be used, I'd suggest e.g. creating a new command, rather that changing how ivy-occur
works.
Recently I found a new package called embark which collect candidates and let you do action on them (almost the same as
ivy-occur
)Some differences I notice are that embark use a major-mode derived from
tabulated-list-mode
, so it support display in multiple columns format (a perfect example where this is useful is to display both function name and docstring when you export completions fromdescribe-function
) . Also a neat feature is it can combine with tablist-mode (a minor mode to extend functionality oftabulated-list-mode
), it can provide sorting and filtering feature inside emabark buffer (just like what you normally do indired
,ibuffer
andlist-packages
).I think maybe ivy can also borrow this idea and rely on using
tabulated-list-mode
to implementivy-occur
so that we can make fancy UI and do marking, sorting, filtering and other common actions you can find in package like ibuffer or dired.