mu4e-overview icon indicating copy to clipboard operation
mu4e-overview copied to clipboard

[Feature Request] Add a mode for "speedbar".

Open shamefulCake1 opened this issue 1 year ago • 2 comments

May I ask that mu4e-overview supply a "speedbar minor mode" wrapping it?

Seemingly the data model would map very well to the tree widged "supported" by speedbar, and although speedbar is not the best example of code, it is shipped with Emacs, and can be exploited.

There already is a prototype of the code in the stock mu4e, called mu4e-speedbar, but it is also not a "speedbar mode".

https://github.com/djcb/mu/blob/master/mu4e/mu4e-speedbar.el

shamefulCake1 avatar Feb 18 '24 09:02 shamefulCake1

Thanks for the feature request.

I don't use speedbar myself, but I will try it out and see if it can be extended to support our mu4e hierarchy. At the very least, I could provide a more higher-level function that yields our maildir hierarchy, to make it easier to write your own speedbar wrapper.

I will look into speedbar to see if this makes sense.

mkcms avatar Feb 19 '24 23:02 mkcms

I just pushed 673fe69adf82802b1bf39ef8ae40eb265ff68a15 which adds a public function to get the folder hierarchy and the total/unread counts. That makes it possible for users to implement alternative views for the hierarchy. I still haven't delved into speedbar though.

mkcms avatar May 21 '24 17:05 mkcms