From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79453 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Where are group parameters stored? Date: Wed, 13 Jul 2011 09:13:38 +0200 Message-ID: <87fwma7ivx.fsf@member.fsf.org> References: <8762ncnb5a.fsf@member.fsf.org> <87r55v1hks.fsf@member.fsf.org> <871uxvrody.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310541268 20400 80.91.229.12 (13 Jul 2011 07:14:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 07:14:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27749@lists.math.uh.edu Wed Jul 13 09:14:24 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 1QgteJ-0000GX-6x for ding-account@gmane.org; Wed, 13 Jul 2011 09:14:23 +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 1Qgtdl-0005py-4x; Wed, 13 Jul 2011 02:13:49 -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 1Qgtdi-0005pc-22 for ding@lists.math.uh.edu; Wed, 13 Jul 2011 02:13:46 -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 1Qgtdd-0005xS-KN for ding@lists.math.uh.edu; Wed, 13 Jul 2011 02:13:45 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qgtdb-0003bx-Ux for ding@gnus.org; Wed, 13 Jul 2011 09:13:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id BCB68D2376 for ; Wed, 13 Jul 2011 09:13:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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 I856YBVkW04J for ; Wed, 13 Jul 2011 09:13:39 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 576DFD236B for ; Wed, 13 Jul 2011 09:13:39 +0200 (CEST) In-Reply-To: <871uxvrody.fsf@yun.yagibdah.de> (lee@yun.yagibdah.de's message of "Wed, 13 Jul 2011 02:54:33 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79453 Archived-At: lee writes: Hi Lee, >> (setq gnus-parameters >> `((,(rx (or "emacs" "gnus")) ;; 1) >> (gnus-button-emacs-level 10)) >> >> (,(rx "nnimap+") ;; 2) >> (gnus-use-scoring nil) >> (gcc-self . t)) >> (,(rx "nnimap+Uni:ml/") ;; 3) >> (gcc-self . "nnimap+Uni:Sent")) >> (,(rx "nnimap+Fastmail:INBOX.mailinglists.") ;; 4) >> (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") >> (gnus-use-scoring t)))) > > What does the above do? 1) In all groups containing emacs or gnus in their name the buttonize level is increased, so that strings in articles that match an emacs variable or function name are buttonized. Clicking on them then shows the help buffer you'd also get with `C-h f the-function RET'. 2) In all groups containing "nnimap+" (i.e., all groups of any IMAP server) the scoring is turned of and when I start a mail in such a group, then my own message is put into this group as well. 3) In all groups containing "nnimap+Uni:ml/", which is the base below I have folders for different mailinglists on my university account, I set an explicit sent mail folder which overrides the gcc-self from 2). 4) Like 3) for another account. Again, I override the gcc-self "inherited" from 2) and also activate scoring for these mailinglists. Inheritance here means that the individual parameters are applied in sequence. So if you order them from lax regexps to more specific regexps (for example based on the folder structure like I do), you can set parameters for a whole set of groups first and override them for some exceptional groups that are matched by stricted regexps later in the list. Bye, Tassilo -- Sent from my Emacs