From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39866 Path: main.gmane.org!not-for-mail From: "Matt Armstrong" Newsgroups: gmane.emacs.gnus.general Subject: Re: OT: make bbdb shut up about different email addresses? Date: Fri, 2 Nov 2001 11:35:50 -0700 (MST) Sender: owner-ding@hpc.uh.edu Message-ID: <20011102183550.C14ACBD2E@squeaker.lickey.com> References: <87y9m9fs6b.fsf@squeaker.lickey.com> <87elo1exsd.fsf@squeaker.lickey.com> <20011102160930.CC3D1BD52@squeaker.lickey.com> <87wv192jzh.fsf_-_@mclinux.com> <20011102173752.B4E85BD2B@squeaker.lickey.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175509 30257 80.91.224.250 (21 Oct 2002 04:45:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:45:09 +0000 (UTC) Return-Path: Original-Received: (qmail 10385 invoked from network); 2 Nov 2001 18:38:13 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Nov 2001 18:38:13 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15zjBE-0005qO-00; Fri, 02 Nov 2001 12:36:36 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 02 Nov 2001 12:36:17 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA27454 for ; Fri, 2 Nov 2001 12:36:01 -0600 (CST) Original-Received: (qmail 10371 invoked by alias); 2 Nov 2001 18:36:07 -0000 Original-Received: (qmail 10366 invoked from network); 2 Nov 2001 18:36:07 -0000 Original-Received: from hank.lickey.com (64.81.100.235) by gnus.org with SMTP; 2 Nov 2001 18:36:07 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 7EC94EE30 for ; Fri, 2 Nov 2001 11:35:52 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id B26E5BD48 for ; Fri, 2 Nov 2001 11:35:51 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id C14ACBD2E; Fri, 2 Nov 2001 11:35:50 -0700 (MST) Original-To: ding@gnus.org In-Reply-To: <20011102173752.B4E85BD2B@squeaker.lickey.com> ("Matt Armstrong"'s message of "Fri, 2 Nov 2001 10:37:52 -0700 (MST)") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) Mail-Followup-To: ding@gnus.org X-Delivery-Agent: TMDA v0.40/Python 1.5.2 (linux2) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:39866 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39866 "Matt Armstrong" writes: > Josh Huber writes: > >> I wonder, since Matt's email addresses are dated, is there a way to >> get BBDB to not ask me: >> >> "Would you like to add ...@... to so-and-so's BBDB record?" >> >> every time I view a message from Matt? > > I set bbdb-always-add-addresses to 'never. > > But you can also set it to a function that (I assume) gets the address > and returns 't, nil or 'never. It could use some regexp magic to > avoid asking about the dated address. This works... (defun my-bbdb-always-add-addresses-func () (cond ((string-match ".\\(.\\)dated\\1[0-9]\\{9,10\\}\\.[0-9a-fA-F]\\{2,16\\}@" net) 'never) (t nil))) (setq bbdb-always-add-addresses 'my-bbdb-always-add-addresses-func) -- matt