From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7165 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: bbdb auto create, GNUS-5.2.25, BBDB-1.50, XEmacs 19.14 Date: 08 Jul 1996 19:54:12 -0400 Message-ID: References: Reply-To: Colin Rafferty NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147515 6167 80.91.224.250 (20 Oct 2002 20:58:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:58:35 +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 RAA27272 for ; Mon, 8 Jul 1996 17:11:16 -0700 Original-Received: from mlfire.ml.com (mlfire.ml.com [192.246.100.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 9 Jul 1996 01:54:46 +0200 Original-Received: from commpost.ml.com ([146.125.4.24]) by mlfire.ml.com (8.7.5/8.7.3/MLgw-2.05) with SMTP id TAA13186 for ; Mon, 8 Jul 1996 19:59:00 -0400 (EDT) Original-Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id TAA20654; Mon, 8 Jul 1996 19:57:45 -0400 (EST) Original-Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1) id TAA01064; Mon, 8 Jul 1996 19:54:12 -0400 Original-To: (ding) GNUS Mailing List X-Face: ""xJff%{>hr-{:QXl"Xk2O@@(+F]e{"%EYQiW@mUuvEsL>=mx96j12qW[%m;|:B^n{J8k?Mz[K1_+H;$v,nYx^1o_=4M,L+]FIU~[[`-w~~xsy-BX,?tAF_.8u&0y*@aCv;a}Y'{w@#*@iwAl?oZpvvv X-Y-Zippy: Zippy's brain cells are straining to bridge synapses... In-Reply-To: Richard Taylor's message of 03 Jul 1996 10:03:32 +0100 Original-Lines: 27 X-Mailer: Gnus v5.2.25/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:7165 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7165 On 03 Jul 1996, Richard Taylor said: > 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) The problem is that you have to set it in the *Article* buffer. I do the following: (make-variable-buffer-local 'bbdb/news-auto-create-p) (add-hook 'gnus-summary-mode-hook (lambda () (save-excursion (let ((auto (and (string-match "^nnml:" group) 'bbdb-ignore-some-messages-hook))) (setq bbdb/news-auto-create-p auto) (set-buffer gnus-article-buffer) (setq bbdb/news-auto-create-p auto))))) -- Colin