From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79460 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: Where are group parameters stored? Date: Wed, 13 Jul 2011 22:05:53 +0200 Organization: my virtual residence Message-ID: <87liw22bfi.fsf@yun.yagibdah.de> References: <8762ncnb5a.fsf@member.fsf.org> <87r55v1hks.fsf@member.fsf.org> <871uxvrody.fsf@yun.yagibdah.de> <87fwma7ivx.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310587582 18484 80.91.229.12 (13 Jul 2011 20:06:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 20:06:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27756@lists.math.uh.edu Wed Jul 13 22:06:14 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 1Qh5hG-0007EI-Gw for ding-account@gmane.org; Wed, 13 Jul 2011 22:06:14 +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 1Qh5h4-0000eT-5O; Wed, 13 Jul 2011 15:06:02 -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 1Qh5h2-0000eE-GX for ding@lists.math.uh.edu; Wed, 13 Jul 2011 15:06:00 -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 1Qh5gx-0000U7-Rq for ding@lists.math.uh.edu; Wed, 13 Jul 2011 15:06:00 -0500 Original-Received: from static.103.179.46.78.clients.your-server.de ([78.46.179.103] helo=static.73.179.46.78.clients.your-server.de) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qh5gw-0006Fd-91 for ding@gnus.org; Wed, 13 Jul 2011 22:05:54 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1Qh5gv-0008KG-ML for ding@gnus.org; Wed, 13 Jul 2011 22:05:53 +0200 Mail-Followup-To: ding@gnus.org In-Reply-To: <87fwma7ivx.fsf@member.fsf.org> (Tassilo Horn's message of "Wed, 13 Jul 2011 09:13:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1693--6918h-0s--0d--H*UA:Emacs, 0.000-1524--6229h-0s--0d--H*u:Emacs, 0.000-1407--5749h-0s--0d--H*UA:Gnus, 0.000-1407--5748h-0s--0d--H*u:Gnus, 0.000-1348--5509h-0s--0d--H*u:linux Spam tokens: 0.987-1--0h-1s--0d--H*r:sk:clients, 0.967-5920--1385h-53925s--0d--H*r:quimby.gnus.org, 0.938-403--232h-4687s--0d--inheritance, 0.908-182--227h-3015s--0d--H*r:sk:static., 0.908-3253--4086h-54176s--0d--HX-Spam-Relays-External:quimby.gnus.org Autolearn status: no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79460 Archived-At: Tassilo Horn writes: > 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. Thank you very much for the thorough explanation! How do you make groups inherit parameters that have been set previously? What I don't understand in particular is what the comma (`,') in an entry does ... I can see that (rx "something") matches strings like "something" and "something good". So is it the comma that activates the inheritance? Inheritance can be very useful to me because without it, I have a lot of repetitive entries in my list of gnus-parameters.