From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80612 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Problem with gnus-parameters Date: Mon, 28 Nov 2011 20:54:19 +0100 Message-ID: <878vn0c9as.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322510093 7952 80.91.229.12 (28 Nov 2011 19:54:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2011 19:54:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28894@lists.math.uh.edu Mon Nov 28 20:54:49 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 1RV7Hs-0004wo-0p for ding-account@gmane.org; Mon, 28 Nov 2011 20:54:48 +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 1RV7Hb-0006qO-25; Mon, 28 Nov 2011 13:54:31 -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 1RV7HZ-0006qE-EJ for ding@lists.math.uh.edu; Mon, 28 Nov 2011 13:54:29 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RV7HV-0000a9-Na for ding@lists.math.uh.edu; Mon, 28 Nov 2011 13:54:29 -0600 Original-Received: from out3.smtp.messagingengine.com ([66.111.4.27]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RV7HT-0002Ev-2f for ding@gnus.org; Mon, 28 Nov 2011 20:54:23 +0100 Original-Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7572B21148 for ; Mon, 28 Nov 2011 14:54:22 -0500 (EST) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 28 Nov 2011 14:54:22 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=vn8dIadSMGXHFFEtEsBIXF Q8jW0=; b=mY4Xg3V8EOPYylaGeNVxHdi2ROmaB3pPHkFZJ04/pyYPbZrc2rMG7x 3ZzqMkJ8uxHbK0tnEIBoCSUpqmqKfeg2eAR+7Oaa4Bu8IYt2Jp6ta/ceyzlxkc2L nX+ZVPPo7vW+P/kT3vBD1JraAj6+hLZCeBmzjlvaaPTdVn5AX7N08= X-Sasl-enc: lK+xgeBcX6wKuN1YnF3s3kaTWUYAOfyvdOc2kvOyfM6r 1322510062 Original-Received: from thinkpad.tsdh.de (91-67-11-43-dynip.superkabel.de [91.67.11.43]) by mail.messagingengine.com (Postfix) with ESMTPSA id C7C6A8E00A2 for ; Mon, 28 Nov 2011 14:54:21 -0500 (EST) User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80612 Archived-At: Hi all, this is the value of my `gnus-parameters': --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `((,(rx "nnimap+") (gnus-use-scoring nil) (gcc-self . t)) ;; Mailing List exceptions (,(rx "nnimap+Uni:ml/") (gcc-self . "nnimap+Uni:Sent")) (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") (gnus-use-scoring t)))) --8<---------------cut here---------------end--------------->8--- In all my IMAP groups scoring is turned off, except for the groups below nnimap+Fastmail:INBOX.mailinglists. Similarly, in all my IMAP groups a Gcc header to the current group is added, except for the mailing list groups below nnimap+Uni:ml/ and nnimap+Fastmail:INBOX.mailinglists, where the sent mail folders specified above are inserted as Gcc. This suggests that the `gnus-parameters' are applied with the same semantics as `gnus-posting-styles': ,----[ (info "(gnus)Posting Styles") ] | Each style will be applicable if the first element "matches", in some | form or other. The entire alist will be iterated over, from the | beginning towards the end, and each match will be applied, which means | that attributes in later styles that match override the same | attributes in earlier matching styles. `---- However, now I added some parameters for setting the `expiry-target', so that when marking an article with `E', it gets moved to that account's trash folder. --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `((,(rx "nnimap+") (gnus-use-scoring nil) (gcc-self . t)) ;; Where to expire (,(rx "nnimap+Uni:") (expiry-target . "nnimap+Uni:Trash")) (,(rx "nnimap+Fastmail:") (expiry-target . "nnimap+Fastmail:INBOX.Trash")) (,(rx "nnimap+Gmail:") (expiry-target . "nnimap+Gmail:[Google Mail]/Trash")) ;; Mailing List exceptions (,(rx "nnimap+Uni:ml/") (gcc-self . "nnimap+Uni:Sent")) (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gcc-self . "nnimap+Fastmail:INBOX.Sent Items") (gnus-use-scoring t)))) --8<---------------cut here---------------end--------------->8--- The expected result is that everything concerning gcc-self and scoring stays as it was before, and that I have an account specific expiry-target. But the actual result is that scoring and expiry-target are set as intended, but the gcc-self setting is disregarded for all groups that are not below nnimap+Uni:ml or nnimap+Fastmail:INBOX.mailinglists, i.e., I don't get a Gcc header to the current group but to my `gnus-message-archive-group'. Why is that? And should that behavior be considered a bug? I've just remembered that I've brought up a related issue about 5 years ago: http://thread.gmane.org/gmane.emacs.gnus.general/64171 Bye, Tassilo