Closed daanturo closed 2 years ago
Sounds good. I propose this approach:
cape-line
cape--line-list
to retrieve the lines from a list of buffers (or a single buffer) returned from a configurable cape-line-buffer-function
.cape-line-buffer-function
can then be set to current-buffer
if you want only this buffer, buffer-list
if you want all buffers, and cape-major-mode-buffers
which returns a list of only the buffers with the same major mode.I am happy to accept a patch which implements this. See https://github.com/minad/cape/#contributions.
Thank you.
I think we can implement this by writing another version of
cape--line-list
that operate on relevant buffers, or extend the current one.