From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57184 Path: main.gmane.org!not-for-mail From: Hiroshi Fujishima Newsgroups: gmane.emacs.gnus.general Subject: Re: Two dumb customization questions Date: Mon, 03 May 2004 02:57:27 +0900 Sender: ding-owner@lists.math.uh.edu Message-ID: <7cvfjed854.fsf@nature.tsukuba.ac.jp> 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-2022-jp-2 X-Trace: sea.gmane.org 1083520679 22771 80.91.224.253 (2 May 2004 17:57:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 May 2004 17:57:59 +0000 (UTC) Original-X-From: ding-owner+M5724@lists.math.uh.edu Sun May 02 19:57:52 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 1BKLDs-0006T5-00 for ; Sun, 02 May 2004 19:57:52 +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 1BKLDh-0004nB-00; Sun, 02 May 2004 12:57:41 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BKLDa-0004n5-00 for ding@lists.math.uh.edu; Sun, 02 May 2004 12:57:34 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BKLDY-0003hq-BZ for ding@lists.math.uh.edu; Sun, 02 May 2004 12:57:32 -0500 Original-Received: from nature.tsukuba.ac.jp (nature.tsukuba.ac.jp [130.158.36.68]) by justine.libertine.org (Postfix) with SMTP id A78DD3A004A for ; Sun, 2 May 2004 12:57:30 -0500 (CDT) Original-Received: (qmail 22525 invoked by uid 1031); 2 May 2004 17:57:27 -0000 Original-To: ding@gnus.org In-Reply-To: <871xm23eow.fsf@virgil.koldfront.dk> (Adam =?iso-2022-jp-2?b?Uw==?= =?iso-2022-jp-2?b?ahsuQRtOeGdy?= =?iso-2022-jp-2?b?ZW4ncw==?= message of "Sun, 02 May 2004 19:46:07 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57184 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57184 >>>>> In <871xm23eow.fsf@virgil.koldfront.dk> >>>>> asjo@koldfront.dk (Adam Sj.ANxgren) wrote: > > 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))))))) You can use group parameters to set bbdb/news-auto-create-p variable in certain groups. (info "(gnus)Group Parameters") | `(VARIABLE FORM)' | You can use the group parameters to set variables local to the | group you are entering. If you want to turn threading off in | `news.answers', you could put `(gnus-show-threads nil)' in the | group parameters of that group. `gnus-show-threads' will be made | into a local variable in the summary buffer you enter, and the | form `nil' will be `eval'ed there. -- Hiroshi Fujishima