emacs-libvterm icon indicating copy to clipboard operation
emacs-libvterm copied to clipboard

Regression: vterm buffers mysteriously missing from Workspaces

Open fosskers opened this issue 3 years ago • 3 comments

I just completed a git bisect, and it seems that commit https://github.com/akermu/emacs-libvterm/commit/74e864a475801147e6c58cd598ffd7625bcf7cf9 has the ill effect downstream of making *vterm* buffers invisible to the workspace that they were opened in. Previously this issue did not occur, and it was possible to, for instance, programmatically detect all open *vterm* buffers and close them. They also showed in the list of "workspace buffers".

Note that a normal "show all buffers" command does list them; they're only somehow invisible to their workspace.

Any thoughts? Thank you kindly.

fosskers avatar Oct 02 '21 16:10 fosskers

What is a workspace in this context?

Sbozzolo avatar Oct 13 '21 15:10 Sbozzolo

Workspaces as provided by https://github.com/Bad-ptr/persp-mode.el and configured by Doom Emacs https://github.com/hlissner/doom-emacs/blob/develop/modules/ui/workspaces/config.el

fosskers avatar Oct 21 '21 18:10 fosskers

The change made in the linked commit above apparently has this effect:

Displaying buffers before they are initialized (rather than after) breaks custom display-buffer-alist rules that depend on buffer state to decide what to do.

(Quoted from someone who helped me debug this originally)

fosskers avatar Oct 21 '21 18:10 fosskers