Run emacs -Q -l test.el.
This is the message buffer:
=== Before lsp-treemacs-errors-list ===
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
=== After lsp-treemacs-errors-list ===
x1.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
x1.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
x1.el
*Treemacs-Scoped-Buffer-#<frame *scratch* - GNU Emacs at home 0x5614b6bad810>*
x2.el
x1.el
You see that treemacs-select-window switches between Treemacs window and x2.el window at the beginning. But this changes after running lsp-treemacs-errors-list. Now treemacs-select-window switches between all windows, i.e. Treemacs, x1.el, x2.el.
Using
treemacs-select-window
I notice a different behavior before and afterlsp-treemacs-errors-list
.Save the following file as
test.el
.Run
emacs -Q -l test.el
. This is the message buffer:You see that
treemacs-select-window
switches between Treemacs window and x2.el window at the beginning. But this changes after runninglsp-treemacs-errors-list
. Nowtreemacs-select-window
switches between all windows, i.e. Treemacs, x1.el, x2.el.