Gnus development mailing list
 help / color / mirror / Atom feed
From: Richard Taylor <rjt@rivers.dra.hmg.gb>
Subject: bbdb auto create, GNUS-5.2.25, BBDB-1.50, XEmacs 19.14
Date: 03 Jul 1996 10:03:32 +0100	[thread overview]
Message-ID: <q191d1lndn.fsf@rivers.dra.hmg.gb> (raw)



Hi

I am trying to get BBDB to auto create entries when I read mail in
certain groups. I have the following in my ding setup:

(defun my-select-group-hook ()
  (setq bbdb/news-auto-create-p
	(cond ((string-match "mail\.misc" gnus-newsgroup-name) t)
	      ((string-match "mail\.ossg" gnus-newsgroup-name) t)
	      (t nil))))

(add-hook 'gnus-select-group-hook    'my-select-group-hook t)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus t)

For some reason my hook is being ignored (or I have got the logic
wrong) and all addresses are being auto created in all groups.

Can anyone see what I am doing wrong ?

I thought it might be the order in which I do the add-hooks but I have
tried the other way round and that does the same thing.

Richard


-- 

			------------------------------
Richard Taylor, N129, DRA Malvern, St Andrews Rd, Malvern, Worcs. WR14 3PS. UK.
   Tel: +44 1684 896028; Fax: +44 1684 894303; Email: rjt@rivers.dra.hmg.gb


             reply	other threads:[~1996-07-03  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-03  9:03 Richard Taylor [this message]
1996-07-03 23:53 ` Sudish Joseph
1996-07-08 23:54 ` Colin Rafferty

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=q191d1lndn.fsf@rivers.dra.hmg.gb \
    --to=rjt@rivers.dra.hmg.gb \
    /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).