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

No number is shown in speedbar frame

Open nyqvist opened this issue 6 years ago • 1 comments

When toggling speedbar with M-x speedbar I get a new frame but no number from winum is inserted there. It works fine when I open other emacs frames, like the one opened from M-x ediff-files.

Switching to the speedbar frame works.

nyqvist avatar Mar 24 '18 15:03 nyqvist

Apparently speedbar defines its own mode-line. I guess doing something like setting up a speedbar-mode-hook to push winum--mode-line-segment at the correct position in this mode-line could work.

Without forgetting to clean it up when exiting the mode and still set it up when entering the mode and the speedbar frame is already present.

But as I am not a user of speedbar I doubt that I will ever take the time to implement it myself.

PR welcome 😉

deb0ch avatar Nov 08 '18 16:11 deb0ch