Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying multiple unread email counts in the modeline #10

Open
FrostyX opened this issue Oct 29, 2022 · 2 comments
Open

Displaying multiple unread email counts in the modeline #10

FrostyX opened this issue Oct 29, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@FrostyX
Copy link

FrostyX commented Oct 29, 2022

Hello,

I would like to show two, three, or more unread counts in my modeline.
In my case, one for work email, one for personal, and then a couple for high-priority mailing lists.

My mailbox currently has around 800k emails from many mailing lists. A lot of them are unread because they have no importance to me. As a consequence, a single "unread emails count" number doesn't work for me, because it will always be 99+.

I already filed the issue here
iqbalansari/mu4e-alert#39
but MELPA tells me, this is the official repository :-)

@xzz53
Copy link
Owner

xzz53 commented Oct 29, 2022

Hi,

You are right, this is the upstream now. :) Your case is valid, but it's quite difficult to implement and will need a major redesign (mainly because of the lack of cooperation from mu4e author; due to that message fetching code is a mess of advices, callbacks and ad-hoc synchronization). I need a few days to consider possible implementations.

Meanwhile, you can tweak your mu4e-alert-interesting-mail-query customization variable to restrict the maildirs mu4e-alert looks into (that's what I do myself; my mu4e-alert-interesting-mail-query is "flag:unread and not flag:trashed and not maildir:/lists/ and not maildir:/promo/ and not maildir:/spam/ and not maildir:/todo/").

@xzz53 xzz53 added the enhancement New feature or request label Oct 29, 2022
@FrostyX
Copy link
Author

FrostyX commented Oct 29, 2022

Thank you very much for the explanation @xzz53.

Meanwhile, you can tweak your mu4e-alert-interesting-mail-query customization variable to restrict the maildirs

That is a nice workaround, thank you :-)
I just finished its configuration and it is good enough for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants