Gnus development mailing list
 help / color / mirror / Atom feed
* bbdb auto create, GNUS-5.2.25, BBDB-1.50, XEmacs 19.14
@ 1996-07-03  9:03 Richard Taylor
  1996-07-03 23:53 ` Sudish Joseph
  1996-07-08 23:54 ` Colin Rafferty
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Taylor @ 1996-07-03  9:03 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-08 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-03  9:03 bbdb auto create, GNUS-5.2.25, BBDB-1.50, XEmacs 19.14 Richard Taylor
1996-07-03 23:53 ` Sudish Joseph
1996-07-08 23:54 ` Colin Rafferty

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