Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Michael Below <mbelow@antithese.de>
Subject: Re: Automatical creation of records in BBDB and Gnus
Date: Wed, 05 Feb 2003 11:29:47 +0100	[thread overview]
Message-ID: <87isvzaulg.fsf@antithese.de> (raw)
In-Reply-To: <87adhbu6ij.fsf@medelklassen.com>

Karl Eklund <kekn@medelklassen.com> writes:

> In the context of the variable bbdb/news-auto-create-p (which is now
> turned off), does BBDB consider every group in Gnus, even the mail
> groups, to be "news"?

I think so.

> From the documentation of bbdb/news-auto-create-p I was led to the
> documentation for gnus-select-group-hook. On that page there is an
> example of a hook that will check the subject, but:
>
> what is the variable to check for the group name?

For example, I set gnus-select-group-hook like this in my .gnus:
(setq gnus-select-group-hook
  '(lambda ()
   (setq bbdb/news-auto-create-p
   (or (string= "nnmh:first" gnus-newsgroup-name)
   (string= "nnmh:second" gnus-newsgroup-name)
   (string= "nnmh:third" gnus-newsgroup-name)
   )))) 

HTH

Michael
-- 
"Die Landesregierung steht gerne als Dienstleister für Nokia voll zur
Verfügung." -- Ministerpräsident Peer Steinbrück bei der
10-Jahres-Feier der deutschen Nokia-Niederlassung.


           reply	other threads:[~2003-02-05 10:29 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87adhbu6ij.fsf@medelklassen.com>]

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=87isvzaulg.fsf@antithese.de \
    --to=mbelow@antithese.de \
    /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).