Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Automatical creation of records in BBDB and Gnus
       [not found] <87adhbu6ij.fsf@medelklassen.com>
@ 2003-02-05 10:29 ` Michael Below
  0 siblings, 0 replies; only message in thread
From: Michael Below @ 2003-02-05 10:29 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-05 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87adhbu6ij.fsf@medelklassen.com>
2003-02-05 10:29 ` Automatical creation of records in BBDB and Gnus Michael Below

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).