doom-modeline icon indicating copy to clipboard operation
doom-modeline copied to clipboard

[Feature Request] Allow doom-modeline-gnus-excluded-groups to be a predicate too

Open memeplex opened this issue 2 years ago • 5 comments

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.

memeplex avatar Oct 12 '21 22:10 memeplex

@MorganJamesSmith Can you please take a look at this request? It's related to #335 . Thanks!

seagle0128 avatar Oct 13 '21 06:10 seagle0128

@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"))

Thaodan avatar Oct 28 '22 21:10 Thaodan

Closing due to no activity.

seagle0128 avatar Oct 24 '23 08:10 seagle0128

Activity on what part? I think there has been enough activity to describe the issue.

Thaodan avatar Oct 24 '23 08:10 Thaodan

@Thaodan Sorry, I closed it by mistake while I was cleaning up the issues.

And ping @MorganJamesSmith kindly...

seagle0128 avatar Oct 24 '23 15:10 seagle0128