From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82190 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: weird results when setting gnus-parameters Date: Sun, 02 Sep 2012 08:13:54 +0200 Organization: my virtual residence Message-ID: <87y5kt3qal.fsf@yun.yagibdah.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1346566548 23202 80.91.229.3 (2 Sep 2012 06:15:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 06:15:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30458@lists.math.uh.edu Sun Sep 02 08:15:49 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T83TG-00020j-NZ for ding-account@gmane.org; Sun, 02 Sep 2012 08:15:47 +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 1T83Rp-0005XM-8V; Sun, 02 Sep 2012 01:14:17 -0500 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 1T83Re-0005X1-5v for ding@lists.math.uh.edu; Sun, 02 Sep 2012 01:14:06 -0500 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 1T83RZ-00033d-Je for ding@lists.math.uh.edu; Sun, 02 Sep 2012 01:14:04 -0500 Original-Received: from static.7.179.46.78.clients.your-server.de ([78.46.179.7] helo=yun.yagibdah.de) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1T83RW-0003cH-Vj for ding@gnus.org; Sun, 02 Sep 2012 08:13:59 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.80) (envelope-from ) id 1T83RV-0006zK-D1 for ding@gnus.org; Sun, 02 Sep 2012 08:13:57 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Mail-Followup-To: ding@gnus.org X-Spam-Score: -0.5 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82190 Archived-At: Hi, setting gnus-parameters in my ~/.gnus yields weird results. For example: (setq gnus-parameters `( ("mail\\.0-incoming" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5k) %(%[%-23,23A%]%) %11&user-date; '%s\n")) ;; ("mail\\.lists\\.debian.*" (subscribed . t) (gnus-show-threads t) (gnus-use-scoring t) (display . default) (gcc-self . "mail.posted") (posting-style (organization "my virtual residence") (signature "Debian testing amd64")) (gnus-summary-line-format ":%U%R%z%B(%5k) %(%[%-23,23f%]%) '%s\n")))) This does ignore the signature specified in the posting-style for a group called "mail.lists.debian-user". It does apply the Gcc header correctly. Why is the signature setting ignored? It also seems to (sometimes) ignore (display . default), as gnus is asking me how many articles to get when entering some group that should have that setting enabled. The documentation says: ,---- [ info (gnus) Group Parameters ] | All clauses that matches the group name will be used, but the last | setting "wins". So if you have two clauses that both match the group | name, and both set, say `display', the last setting will override the | first. `---- It definitely doesn't work that way. I have done some experimentation with the order of entries in gnus-parameters and started thinking that either not the last setting wins but the first one or that the first setting that matches wins. However, the results then contradicted that and are inconclusive, and I can't figure out how it works. What I expected, according to the documentation, is that I could set parameters for all groups first and then create "exceptions" in later clauses, like: (setq gnus-parameters `( (".*" (gnus-show-threads nil) (gnus-use-scoring nil) (gnus-article-sort-functions '((not gnus-article-sort-by-date))) (display . [not expire]) (gcc-self . "mail.sent") (gnus-summary-line-format ":%U%R%z%I(%5k) %(%[%-23,23A%]%) %11&user-date; '%s\n")) ;; ("mail\\.lists.*" (subscribed . t) (gnus-show-threads t) (gnus-use-scoring t) (display . default) (gcc-self . "mail.posted") (posting-style (organization "my virtual residence")) (gnus-summary-line-format ":%U%R%z%B(%5k) %(%[%-23,23f%]%) '%s\n")) ;; ("mail\\.lists\\.debian.*" (subscribed . t) (gnus-show-threads t) (gnus-use-scoring t) (display . default) (gcc-self . "mail.posted") (posting-style (organization "my virtual residence") (signature "Debian testing amd64")) (gnus-summary-line-format ":%U%R%z%B(%5k) %(%[%-23,23f%]%) '%s\n")))) It doesn't really work that way. Is there a bug with this, or how does it actually work? -- http://www.asciiribbon.org/ http://tools.ietf.org/html/rfc1855 http://www.caliburn.nl/topposting.html