On Mon, Oct 14, 2019 at 7:07 PM Ergus <
address@hidden> wrote:
> Ok, I am not sure, but I think that actually bs-show is a table, so the
> hl-face does not apply. to it because there is a last column (in this
> case empty) with the default face.
No. The *buffer-selection* buffer is filled with this code in bs-show-in-buffer:
(erase-buffer)
(setq bs--name-entry-length name-entry-length)
(bs--show-header)
(dolist (buffer list)
(bs--insert-one-entry buffer)
(insert "\n"))
(delete-char -1)
which inserts lines (strings) followed by \n, and then deletes the last \n in the buffer (so the last line does not have a \n at the end, which theoretically simplifies a bit moving around the buffer).
The function that creates each line is bs--insert-one-entry, which accumulates the different "fields" into one string, and then just inserts it in the buffer.
The effect in the picture in my original post is not showing an empty column in a table. It's an artifact of the last line not having a closing \n. Whether that's intended with face extension or not, I don't know. IMO it would be nicer if the face extended to the end of the line in that case too.