doom-modeline
doom-modeline copied to clipboard
[Feature Request] Allow doom-modeline-gnus-excluded-groups to be a predicate too
Is your feature request related to a problem? Please describe.
I'm subscribed to many newsgroups but I only want to receive notifications from my personal email account and a couple of groups that I deem important.
Describe the solution you'd like
Extend the meaning of doom-modeline-gnus-excluded-groups
to allow it to be a general predicate.
Describe alternatives you've considered
- A whitelist/blacklist mechanism.
- A regular expression.
Both are subsumed in my proposal which is more general and simpler to implement.
@MorganJamesSmith Can you please take a look at this request? It's related to #335 . Thanks!
@MorganJamesSmith Can you please take a look at this request? It's related to #335 . Thanks!
I works in that direction but requires the use of the exact group name as used in ‘gnus-newsrc-alist’‘. What the OP suggested is to allow white or blacklist and personally I think the most important: regex, right now each group has to be added manually like this:
(setq doom-modeline-gnus-excluded-groups '("nntp+Gmane:gmane.emacs.bugs"
"nntp+Gmane:gmane.emacs.devel"
"nntp+Gmane:gmane.emacs.gnus.general"
"nntp+Gmane:gmane.emacs.gnus.user"
"nntp+Gmane:gmane.emacs.help"))
Closing due to no activity.
Activity on what part? I think there has been enough activity to describe the issue.
@Thaodan Sorry, I closed it by mistake while I was cleaning up the issues.
And ping @MorganJamesSmith kindly...