From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64171 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: gnus-parameters: Inconsitency between group parameters and group local variables (was: gcc-self in `gnus-parameters' doesn't work as expected) Date: Thu, 28 Dec 2006 18:25:57 +0100 Message-ID: References: <87irgiwr1g.fsf@baldur.tsdh.de> Reply-To: Reiner Steib NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167326960 11295 80.91.229.10 (28 Dec 2006 17:29:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2006 17:29:20 +0000 (UTC) Cc: bugs@gnus.org, Original-X-From: ding-owner+M12694@lists.math.uh.edu Thu Dec 28 18:29:18 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gzz43-0008Mn-GU for ding-account@gmane.org; Thu, 28 Dec 2006 18:29:11 +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 1Gzz1o-0005Bm-DB; Thu, 28 Dec 2006 11:26:52 -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 1Gzz1m-0005BU-UE for ding@lists.math.uh.edu; Thu, 28 Dec 2006 11:26:50 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1Gzz1g-0007lE-Pe for ding@lists.math.uh.edu; Thu, 28 Dec 2006 11:26:50 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Gzz1f-0007L6-00; Thu, 28 Dec 2006 18:26:43 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id kBSHQTjs000875; Thu, 28 Dec 2006 18:26:37 +0100 (MET) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 65D6F124FC; Thu, 28 Dec 2006 18:26:29 +0100 (CET) Original-Received: (nullmailer pid 10932 invoked by uid 170); Thu, 28 Dec 2006 17:25:58 -0000 Original-To: Tassilo Horn Mail-Followup-To: Tassilo Horn , X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-DCC-dcc.uncw.edu-Metrics: gemini 1201; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64171 Archived-At: [ Shifting this to ding ] On Mon, Dec 11 2006, Tassilo Horn wrote: > No Gnus v0.6 [...] > I've set up my gnus-parameters as follows: > > ,----[ ~/.gnus.el ] > | (setq gnus-parameters > | '(("^nnimap\\+Fastmail:INBOX" > | (gnus-use-scoring nil) > | (gcc-self . t)) > | ("^nnimap\\+Fastmail:INBOX\\.D-BARF$" > | (to-address . "D-BARF@yahoogroups.de") > | (subscribed . t) > | (gnus-use-scoring t) > | (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")) > | ("^nnimap\\+Fastmail:INBOX\\.emms-patches$" > | (to-address . "emms-patches@gnu.org") > | (subscribed . t) > | (gnus-use-scoring t) > | (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")))) > `---- > > Normally I love reading my mail in a newsgroup-like fashion, so the > first entry in `gnus-parameters' enables gcc-self for all my IMAP groups > of my Fastmail account and disables scoring, which I don't need for > mail: [...] > Unfortunately, emms-patches and D-BARF are mailing list where > self-gcc-ing is not what I want. There I want sent mail to go into my > usual archive group for mail, that is > > "nnimap+Fastmail:INBOX.Sent Items" > [...] > I've tried (gcc-self . "nnimap+Fastmail:INBOX.Sent Items"), (gcc-self > . nil), and (gcc-self . none), but if I write a mail in one of the two > groups, the gcc-header's value always is nnimap+Fastmail:INBOX.D-BARF or > nnimap+Fastmail:INBOX.emms-patches (=> (gcc-self . t) still active). You need to move the more general match "^nnimap\\+Fastmail:INBOX" to the end of the list: (setq gnus-parameters '(("^nnimap\\+Fastmail:INBOX\\.D-BARF$" (to-address . "D-BARF@yahoogroups.de") (subscribed . t) (gnus-use-scoring t) (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")) ;; [...] ("^nnimap\\+Fastmail:INBOX" (gnus-use-scoring nil) (gcc-self . t)))) > Soring is enabled for the two groups, so the matches should be correct. The difference is that `gnus-use-scoring' is a group local variable, whereas `gcc-self' is a group parameter (dotted list). Surprisingly, they behave different: (setq gnus-parameters '(("^nnimap\\+.*:INBOX" (tmp-variable 11) (display . 11)) ("^nnimap\\+.*:INBOX\\.test$" (tmp-variable 22) (display . 22)))) When I enter INBOX.test `M-: tmp-variable RET' returns 22 whereas `M-: (gnus-group-find-parameter gnus-newsgroup-name 'display) RET' returns 11. I think this inconsistent behavior should be fixed. IMHO it would be better if we choose the same behavior `gnus-posting-styles'. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/