From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80789 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with gnus-parameters Date: Fri, 06 Jan 2012 23:27:46 +0100 Message-ID: <87ehvcqxel.fsf@thinkpad.tsdh.de> References: <878vn0c9as.fsf@thinkpad.tsdh.de> <878vmziasx.fsf@tsdh.uni-koblenz.de> <877h17udki.fsf@tsdh.uni-koblenz.de> <87ty4ajwp2.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325888899 20591 80.91.229.12 (6 Jan 2012 22:28:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2012 22:28:19 +0000 (UTC) Cc: Katsumi Yamaoka , ding@gnus.org To: Lars Magne Ingebrigtsen Original-X-From: ding-owner+M29071@lists.math.uh.edu Fri Jan 06 23:28:14 2012 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 1RjIGi-0003yI-Nb for ding-account@gmane.org; Fri, 06 Jan 2012 23:28:13 +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 1RjIGe-0000gq-MQ; Fri, 06 Jan 2012 16:28:08 -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 1RjIGd-0000gf-Fq for ding@lists.math.uh.edu; Fri, 06 Jan 2012 16:28:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RjIGO-0002Ii-3s for ding@lists.math.uh.edu; Fri, 06 Jan 2012 16:28:05 -0600 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RjIGM-0008ET-0k for ding@gnus.org; Fri, 06 Jan 2012 23:27:50 +0100 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7FC7420686 for ; Fri, 6 Jan 2012 17:27:49 -0500 (EST) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 06 Jan 2012 17:27:49 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=cPa2VJdCVH8c4McAztwwNbpjAsA=; b=TXG+t4Tqe5gVKhQ8L913ljROzfoF PHe/VVdjSmLfUiKRT3gOJyfnSG+akqKcHgfb/FEHKh1zDXKm/3YwxF1vwxP05eqf wA/aSel0YHKFJjNAFmYI331LvjONcXgvZDXyRZQ9xLB/zpf9GHMP2OZFx4NYtS+E ib71grs8nEuVeF4= X-Sasl-enc: n45e4AeUvarSCmhlLs1t+rXJfkv/aTeUHfN7wrFJEyEZ 1325888869 Original-Received: from thinkpad.tsdh.de (91-67-11-43-dynip.superkabel.de [91.67.11.43]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5F81C8E00DC; Fri, 6 Jan 2012 17:27:48 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 06 Jan 2012 21:43:58 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80789 Archived-At: Lars Magne Ingebrigtsen writes: Hi Lars, >> This is extremely cumulative, and lets the last setting win. Are you >> sure it's not working? > > I tried the following: > > (setq gnus-parameters > '(("gmane" (foo "lala")) > ("emacs" (foo "emacs")))) > > In most Gmane groups, `foo' got set to "lala". In this group, which > has "emacs" in its name, it got set to "emacs". Yeah, yeah. We already agree that all clauses are tested and the last one determines the final value. The left issue is that only the group parameters of the last match are applied whereas group local variables are applied cumulatively, meaning every match counts and later matches may override values of previous matches. BTW, in your example, foo is a group local variable because it's given as a proper list, not a dotted pair. Give this one a try: --8<---------------cut here---------------start------------->8--- (setq gnus-parameters '(("gmane" (gcc-self . t) (bar "blabla") (foo "lala")) ("emacs" (foo "emacs")))) --8<---------------cut here---------------end--------------->8--- Is gcc-self active in this group matching both gmane and emacs? For me, its not. And is bar set here? Yes, for me it is. Bye, Tassilo