From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57186 Path: main.gmane.org!not-for-mail From: Zack Weinberg Newsgroups: gmane.emacs.gnus.general Subject: Re: Two dumb customization questions Date: Sun, 02 May 2004 12:22:56 -0700 Sender: ding-owner@lists.math.uh.edu Message-ID: <87brl6zl9r.fsf@egil.codesourcery.com> References: <873c6ispot.fsf@egil.codesourcery.com> <871xm23eow.fsf@virgil.koldfront.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083525807 32717 80.91.224.253 (2 May 2004 19:23:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 May 2004 19:23:27 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M5726@lists.math.uh.edu Sun May 02 21:23:20 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKMYZ-0001kN-00 for ; Sun, 02 May 2004 21:23:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BKMYO-000539-00; Sun, 02 May 2004 14:23:08 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BKMYH-000531-00 for ding@lists.math.uh.edu; Sun, 02 May 2004 14:23:01 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BKMYE-0004GQ-E3 for ding@lists.math.uh.edu; Sun, 02 May 2004 14:22:58 -0500 Original-Received: from mail.codesourcery.com (voldemort.codesourcery.com [65.74.133.5]) by justine.libertine.org (Postfix) with ESMTP id A93243A004A for ; Sun, 2 May 2004 14:22:57 -0500 (CDT) Original-Received: (qmail 9094 invoked from network); 2 May 2004 19:22:57 -0000 Original-Received: from taltos.codesourcery.com (zack@66.92.218.83) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 2 May 2004 19:22:57 -0000 Original-Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Sun, 2 May 2004 12:22:56 -0700 Original-To: asjo@koldfront.dk (=?iso-8859-1?q?Adam_Sj=F8gren?=) In-Reply-To: <871xm23eow.fsf@virgil.koldfront.dk> (Adam =?iso-8859-1?q?Sj=F8gren's?= message of "Sun, 02 May 2004 19:46:07 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57186 asjo@koldfront.dk (Adam Sj=F8gren) writes: > On Sun, 02 May 2004 10:29:22 -0700, Zack wrote: > >> 1) How do I make Gnus automatically change the address in the From: >> line for all compose commands, based on which group is currently >> active? > > Look at the section on "Posting styles" in the manual. > > >> 2) How do I make BBDB ignore all messages in certain groups? > > I'm using something like this, which someone provided me with a long > time ago; perhaps there is a better way? > > (setq gnus-select-group-hook > '(lambda () > (setq bbdb/news-auto-create-p > (and > (string-match "^nnml:" gnus-newsgroup-name) > (not (or (string-match "^nnml:spam" gnus-newsgroup-name) > (string-match "^nnml:virus" gnus-newsgroup-name= ))))))) Thanks, these both seem to work. Well, bbdb-quiet-about-name-mismatches doesn't do what it's documented to do, but that's much less of an issue. (I receive a lot of mail from one particular address that changes its alleged full name every single time - I'd like bbdb never to record this address - still can't figure out how to achieve that.) zw