From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7080 Path: main.gmane.org!not-for-mail From: Richard Taylor Newsgroups: gmane.emacs.gnus.general Subject: bbdb auto create, GNUS-5.2.25, BBDB-1.50, XEmacs 19.14 Date: 03 Jul 1996 10:03:32 +0100 Sender: rjt@rivers.dra.hmg.gb (Richard Taylor) Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035147442 5826 80.91.224.250 (20 Oct 2002 20:57:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:57:22 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id DAA22909 for ; Wed, 3 Jul 1996 03:12:23 -0700 Original-Received: from relay.mod.uk (relay.mod.uk [192.5.29.50]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Wed, 3 Jul 1996 11:04:19 +0200 Original-Received: from hermes.dra.hmg.gb by relay.mod.uk with local SMTP id ; Wed, 3 Jul 1996 10:04:01 +0100 Original-Received: from wandle.dra.hmg.gb by hermes.dra.hmg.gb (MX V4.1 VAX) with SMTP; Wed, 03 Jul 1996 10:03:50 GMT Original-Received: from cam.dra.hmg.gb by wandle.dra.hmg.gb with smtp(Smail3.1.28.1 #64) id m0ubNqP-0007VFC; Wed, 3 Jul 96 10:03 WET DST Original-Received: by cam.dra.hmg.gb (Smail3.1.28.1 #94)id m0ubNqP-00032UC; Wed, 3 Jul 96 10:03 GMT-2:08 for ding@ifi.uio.no Original-Sender: rjt@rivers.dra.hmg.gb (Richard Taylor) Original-Sender: rjt@cam.dra.hmg.gb Original-To: ding@ifi.uio.no X-Disclaimer: This message contains the author's opinion only. It should not be taken as the position of DRA unless stated explicitly. Original-Lines: 32 X-Mailer: Gnus v5.2.25/XEmacs 19.14 X-Organisation: CIS3, DRA Malvern, Worcs, UK. Xref: main.gmane.org gmane.emacs.gnus.general:7080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7080 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