Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: How to exclude some groups from BBDB?
Date: Wed, 22 Mar 2017 18:01:09 +0100	[thread overview]
Message-ID: <87d1d96yay.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <85r31pu1ck.fsf@i6.home>

Robert writes:

> I use Gnus with BBDB
>
> How do I exclude a couple of groups from being treated by BBDB?

I have this old snippet in my ~/.gnus:

  ; Only let bbdb auto-create in some groups:
  (setq bbdb/mail-auto-create-p nil) ; This is for MH, RMAIL and VM, but just to be sure...
  (setq gnus-select-group-hook
        '(lambda ()
           (setq bbdb/news-auto-create-p
                 (and
                  (string-match "^nnml:" gnus-newsgroup-name)
                  (not (or (string-match "^nnml:spam" gnus-newsgroup-name)
                           (string-match "^nnml:virus" gnus-newsgroup-name)
                           (string-match "feedbase" gnus-newsgroup-name)))))))
                           ;;; (string-match "news.gwene" gnus-newsgroup-name)


  Best regards,

    Adam

-- 
 "Det er svært at lydskrive falsksang."                       Adam Sjøgren
                                                         asjo@koldfront.dk




      reply	other threads:[~2017-03-22 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22  9:06 Robert Epprecht re
2017-03-22 17:01 ` Adam Sjøgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1d96yay.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).