From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76559 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: how gnus-parameter works when several regexps match Date: Thu, 10 Feb 2011 23:09:08 +0100 Message-ID: References: <877hd8ujiq.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297375830 8175 80.91.229.12 (10 Feb 2011 22:10:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2011 22:10:30 +0000 (UTC) Cc: ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M24906@lists.math.uh.edu Thu Feb 10 23:10:26 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 1PneiX-00034x-Rr for ding-account@gmane.org; Thu, 10 Feb 2011 23:10:26 +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 1PnehX-0003Je-C7; Thu, 10 Feb 2011 16:09:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PnehV-0003JK-8m for ding@lists.math.uh.edu; Thu, 10 Feb 2011 16:09:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PnehS-0005LF-JL for ding@lists.math.uh.edu; Thu, 10 Feb 2011 16:09:20 -0600 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PnehR-0002me-OX for ding@gnus.org; Thu, 10 Feb 2011 23:09:17 +0100 Original-Received: by bwz12 with SMTP id 12so2476374bwz.17 for ; Thu, 10 Feb 2011 14:09:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=z8loqUVa+QXfn9JbFH3oQ1OjXAOaJ2OuOX8KTZ53PH4=; b=jc2ewhab4syS1DFu4sdgU8K4vYVU3VHxot8T0OMHTBBCh40hfDMLq6Bwo14cUle4dl IASlQjOwzD7V1/sOwaxTwtZIWOe6c3WbeFSblfBGLoMWR28NQTPonpFpJ44dHhsjAtZf 7aQd1Qfgf87p9G9SGeqLGZPA4tbKfzCHiw2iE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=ZvJUmR0aAnUawfBEda0oFSBP8su1WoO9TtR/wQC8VTUyo+Ynp3gVM4XUvQuDaN9KT6 ZAsdsTD9P5/otB/2Tuo/773ZKJwuS/RvRTi/V5ICKmcmImjNAQWrSCIL04UxS4r1GVK0 GjLN7pqya/KSs86FGABcNipnUzja5bzhpXFcU= Original-Received: by 10.204.14.202 with SMTP id h10mr19984454bka.182.1297375752093; Thu, 10 Feb 2011 14:09:12 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id j11sm22689bka.12.2011.02.10.14.09.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 14:09:10 -0800 (PST) Mail-Followup-To: Tassilo Horn , ding@gnus.org In-Reply-To: <877hd8ujiq.fsf@member.fsf.org> (Tassilo Horn's message of "Thu, 10 Feb 2011 14:05:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76559 Archived-At: Tassilo Horn writes: [...] > > 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. Ok, that's what I'd like to get. But, it doesn't work for me (trademark. It's a long story between Gnus and me, you know). For example doing this: (setq gnus-parameters '( ("nnimap\\+foo:INBOX" (gcc-self . t) (posting-style (name "toto") (address "titi@foo.com"))) ("nnimap\\+foo" (display . [not expire]) (gnus-large-newsgroup 1000)))) In this case I expect to have name set to 'toto' and adress set to 'titi@foo.com' in my INBOX group. However they are not. I think they are set to user-full-name and user-mail-address values. They are set to the expected values only if I comment the second rule like the following: (setq gnus-parameters '( ("nnimap\\+foo:INBOX" (gcc-self . t) (posting-style (name "toto") (address "titi@foo.com"))))) ; ("nnimap\\+foo" ; (display . [not expire]) ; (gnus-large-newsgroup 1000)))) ; Do you have any idea why I get this behaviour ? Thanks -- Francis