1

I recently came across various workgroup extensions for Emacs and have been doing some experiments. I had a look at:

  1. eyebrowse
  2. workgroups
  3. workgroups2

(I have currently settled with workgroups2)

I could see the workgroup details on the default Emacs modeline but as soon as I enable the powerline or the telephone-line, I could not see the workgroups anymore, except for the wg as an indication that the minor-mode is enabled.

Can anyone provide me a few pointers for how I can get it on the custom mode-line?

1 Answer 1

1

After intense research on Emacs modeline and workgroups2 code, I finally figured it out!

Turns out that the expression wg-mode-line-string can be used to construct a segment for telephone-line like

(telephone-line-defsegment telephone-line-workgroups2-segment
  (wg-mode-line-string))

It is now integrated in my dotfiles.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.