Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch makes the
Buffer List
mode more Emacs like. Now there is only a singleBuffer List
instance, we can flag files for Deletetion and eXecution, set readonly status and unset flags via the usual keys from emacs.On a technical side, I had to change the function to work on
BufferRef
instead ofBufferId
otherwise when eXecuting buffer, if two shared the same infix name (as is common with dired buffers) it would kill them all. As no extra state can be had on a mode, I had to put theBufferRef
on theBufferList
on the second column. It is hack-ish but works, plus I didn't have to deal with invisible buffers as in Emacs.