From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71816 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Any juicy outstanding Gnus bugs? Date: Sun, 26 Sep 2010 12:16:45 +0200 Message-ID: <201009261216.46047.tassilo@member.fsf.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285496225 10894 80.91.229.12 (26 Sep 2010 10:17:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 10:17:05 +0000 (UTC) Cc: Lars Magne Ingebrigtsen To: ding@gnus.org Original-X-From: ding-owner+M20189@lists.math.uh.edu Sun Sep 26 12:17:04 2010 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 1OzoI4-00050H-AJ for ding-account@gmane.org; Sun, 26 Sep 2010 12:17:04 +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 1OzoHt-0006Ri-5F; Sun, 26 Sep 2010 05:16:53 -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 1OzoHq-0006RS-PO for ding@lists.math.uh.edu; Sun, 26 Sep 2010 05:16:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OzoHp-0005sL-FW for ding@lists.math.uh.edu; Sun, 26 Sep 2010 05:16:50 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OzoHo-0003pF-00; Sun, 26 Sep 2010 12:16:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 52C2C782754B; Sun, 26 Sep 2010 12:16:48 +0200 (CEST) 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 29645-10; Sun, 26 Sep 2010 12:16:47 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.localnet (p54AF0DEF.dip0.t-ipconnect.de [84.175.13.239]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3B96D7827545; Sun, 26 Sep 2010 12:16:47 +0200 (CEST) User-Agent: KMail/1.13.5 (Linux/2.6.36-rc5+; KDE/4.5.1; x86_64; ; ) In-Reply-To: X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71816 Archived-At: On Saturday 25 September 2010 21:58:06 Lars Magne Ingebrigtsen wrote: > I'm thinking about trolling the gnus-bug list a bit and, well, fix > stuff. Is there anything in particular that I should handle first? > Any pet peeves? I don't know if that qualifies as a bug, but at least it bugs me. I use gnus-parameters. The problem with that is that "real" parameters like gcc-self seem to take the value of the first match while (VARIABLE FORM) entries seem to be overridden with each match. That results in some awkward definitions like that, where you write regexps from most special to most lax for parameters and the the other way round for VARIABLEs: --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `( ;; [snip] ;; Mailing list messages => Sent Items (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")) ;; Any other group => GCC in that group (,(rx "nnimap+Fastmail") (gcc-self . t) ;; No scoring in mail groups (gnus-use-scoring nil)) ;; except for mailinglist groups (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gnus-use-scoring t)))) --8<---------------cut here---------------end--------------->8--- IMO, the behavior wrt. (VARIABLE FORM) entries is quite sane. It allows for specifying defaults with lax regexps first and let you overridde those for certain (sets of) groups. If that would work for parameters, too, then I'd be able to write: --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `( ;; Any other group => GCC in that group (,(rx "nnimap+Fastmail") (gcc-self . t) (gnus-use-scoring nil)) (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gnus-use-scoring t) (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")))) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo