Enable email counter while getting emails

4 views
Skip to first unread message

jman

unread,
Sep 13, 2025, 5:23:23 AMSep 13
to mu-discuss

Hi,

when I download many emails I see a fixed message with an ASCII spinner in the modeline:

[mu4e] Retrieving mail... \|/-

I was looking into enabling a progress counter, especially useful when the a POP3 download is
long. Example:

[mu4e] Retrieving mail... 09/20

The good news is that mu4e uses `make-progress-reporter` from the subr.el package which optionally
takes additional parameters to build such counter.
Before diving into the intricacies of `mu4e--update-mail-and-index-real`, I wonder how complicated
would that be? Does it depend on what is run with `mu4e-get-mail-command`?. Has anyone already tried
that?

Thanks.

Dirk-Jan C. Binnema

unread,
Sep 14, 2025, 3:08:00 AMSep 14
to mu-di...@googlegroups.com
You'd have to extract the numbers from the output of the tool you are
using for downloading (fetchmail, mbsync, offlineimap, ...), assuming
they provide that output, and then somehow tell mu4e about it.

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036
Reply all
Reply to author
Forward
0 new messages