From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79480 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Where are group parameters stored? Date: Thu, 14 Jul 2011 13:20:55 -0400 Message-ID: References: <8762ncnb5a.fsf@member.fsf.org> <87r55v1hks.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310664082 16798 80.91.229.12 (14 Jul 2011 17:21:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 17:21:22 +0000 (UTC) Cc: ding@gnus.org To: Tassilo Horn Original-X-From: ding-owner+M27776@lists.math.uh.edu Thu Jul 14 19:21:18 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 1QhPbB-0001kN-Ve for ding-account@gmane.org; Thu, 14 Jul 2011 19:21:18 +0200 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 1QhPb6-0006PC-8r; Thu, 14 Jul 2011 12:21:12 -0500 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 1QhPb4-0006Os-DB for ding@lists.math.uh.edu; Thu, 14 Jul 2011 12:21:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QhPaz-0004UW-GX for ding@lists.math.uh.edu; Thu, 14 Jul 2011 12:21:09 -0500 Original-Received: from mail-vw0-f44.google.com ([209.85.212.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QhPax-0004Ho-EY for ding@gnus.org; Thu, 14 Jul 2011 19:21:03 +0200 Original-Received: by vws12 with SMTP id 12so551159vws.17 for ; Thu, 14 Jul 2011 10:20:57 -0700 (PDT) Original-Received: by 10.52.90.243 with SMTP id bz19mr1191522vdb.272.1310664057249; Thu, 14 Jul 2011 10:20:57 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) by mx.google.com with ESMTPS id g7sm173619vdv.45.2011.07.14.10.20.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jul 2011 10:20:56 -0700 (PDT) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id 52174743995; Thu, 14 Jul 2011 13:20:55 -0400 (EDT) In-Reply-To: <87r55v1hks.fsf@member.fsf.org> (Tassilo Horn's message of "Tue, 12 Jul 2011 20:26:11 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79480 Archived-At: on Tue Jul 12 2011, Tassilo Horn wrote: > Dave Abrahams writes: > > Hi Dave, > >>> If you specify them using `G c' or `G p' on a group, then I think >>> they go in ~/.newsrc.eld, but I might be wrong. >> >> Okay, that seems problematic. > > That's one reason why I put them in my ~/.gnus.el. Another reason is > that then I can use some kind of "parameter inheritance", e.g.: > > (setq gnus-parameters > `((,(rx (or "emacs" "gnus")) > (gnus-button-emacs-level 10)) > > (,(rx "nnimap+") ;; general mail stuff > (gnus-use-scoring nil) > (gcc-self . t)) > (,(rx "nnimap+Uni:ml/") ;; specifics for uni mailinglists > (gcc-self . "nnimap+Uni:Sent")) > (,(rx "nnimap+Fastmail:INBOX.mailinglists.") ;; specifics for other mailinglists > (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") > (gnus-use-scoring t)))) Nice! (I don't think I knew about rx. You learn something new every day...) Cheers, -- Dave Abrahams BoostPro Computing http://www.boostpro.com