From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76547 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: how gnus-parameter works when several regexps match Date: Thu, 10 Feb 2011 14:05:49 +0100 Message-ID: <877hd8ujiq.fsf@member.fsf.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297343185 13745 80.91.229.12 (10 Feb 2011 13:06:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 13:06:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24894@lists.math.uh.edu Thu Feb 10 14:06:21 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PnWDw-0002va-Ti for ding-account@gmane.org; Thu, 10 Feb 2011 14:06:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PnWDb-0000zW-Ji; Thu, 10 Feb 2011 07:05:55 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PnWDa-0000zJ-9D for ding@lists.math.uh.edu; Thu, 10 Feb 2011 07:05:54 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PnWDY-0004na-3J for ding@lists.math.uh.edu; Thu, 10 Feb 2011 07:05:53 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PnWDW-0002Ja-S5 for ding@gnus.org; Thu, 10 Feb 2011 14:05:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 7F2047814DA3 for ; Thu, 10 Feb 2011 14:05:50 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02998-10 for ; Thu, 10 Feb 2011 14:05:49 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 4AFFF7814DAE for ; Thu, 10 Feb 2011 14:05:49 +0100 (CET) In-Reply-To: (Francis Moreau's message of "Thu, 10 Feb 2011 13:04:28 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76547 Archived-At: Francis Moreau writes: Hi Francis, > (setq gnus-parameters > '(("mail\\..*" > (gnus-show-threads nil) > (gnus-use-scoring nil) > (gnus-summary-line-format > "%U%R%z%I%(%[%d:%ub%-23,23f%]%) %s\n") > (gcc-self . t) > (display . all)) > > ("^nnimap:\\(foo.bar\\)$" > (to-group . "\\1")) > > ("mail\\.me" > (gnus-use-scoring t)))) > > I'm wondering what the group parameters are for the group named > 'mail.me'. > > Does it have group parameters defined by "mail\\.*" _and_ "mail\\.me" > or only the last one ? It should have all parameters of "mail\\..*" with the gnus-use-scoring value of "mail\\.me", which overrides the value specified in the former. I have this, and it works that way: --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `( (,(rx (or "emacs" "gnus")) (gnus-button-emacs-level 10)) (,(rx "nnimap+") (gnus-use-scoring nil) (gcc-self . t)) (,(rx "nnimap+Uni:ml/") (gcc-self . "nnimap+Uni:Sent")) (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") (gnus-use-scoring t)))) --8<---------------cut here---------------end--------------->8--- For example, I don't use scoring in all my nnimap groups, except for the groups below nnimap+Fastmail:INBOX.mailinglists, where scoring is turned on. Bye, Tassilo -- Sent from my Emacs