Duplicating workspace list on click
I added a perspective besides main. If i click on the modebar indicator to switch perspectives the whole list gets duplicated and appended to the perspective list. switch-perspective bound to a key seems to work fine.
I added a screenshot to illustrate. Any idea where this behaviourt might come from ?
It’s probably the code in persp-update-modestring. It looks like you have a fairly sophisticated modeline setup, so it’s hard to tell where Perspective’s modeline updating code conflicts with it.
In other words, I need a simple reproducible example.
I get this behavior with doom-modeline or mood-line.
Personally I use straight.el, so my minimal example looks like:
emacs -Q -l ~/.emacs.d/straight/repos/straight.el/bootstrap.el
(straight-use-package 'perspective)
(straight-use-package 'doom-modeline)
(doom-modeline-mode)
(persp-mode)
(persp-switch 'other)
...then click.
I get the same doubling if I replace doom-modeline with mood-line.
Okay, I'll reopen this and take a look when I have time.