Make note of the precedence rules for `gnus-parameters'
authorLars Magne Ingebrigtsen <larsi@stories.(none)>
Fri, 6 Jan 2012 20:44:32 +0000 (21:44 +0100)
committerLars Magne Ingebrigtsen <larsi@stories.(none)>
Fri, 6 Jan 2012 20:44:32 +0000 (21:44 +0100)
lisp/ChangeLog
lisp/gnus.el
texi/ChangeLog
texi/gnus.texi

index 1ac9688..6c3939e 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus.el (gnus-parameters): Doc fix.
+
 2012-01-06  Dave Abrahams  <dave@boostpro.com>  (tiny change)
 
        * gnus-sum.el (gnus-summary-refer-thread): If the subtree is hidden,
index ad18c87..f532f6f 100644 (file)
@@ -1145,9 +1145,7 @@ For example:
                  (display . all))
      (\"mail\\\\.me\" (gnus-use-scoring  t))
      (\"list\\\\..*\" (total-expire . t)
-                 (broken-reply-to . t)))
-
-The first clause that matches the group name will be used."
+                 (broken-reply-to . t)))"
   :version "22.1"
   :group 'gnus-group-various
   :type '(repeat (cons regexp
index 04b06bd..7dba30d 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus.texi (Group Parameters): Really note precedence.
+
 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus.texi (Group Parameters): Note precedence.
index 8b6e3df..8e9ea43 100644 (file)
@@ -3180,14 +3180,17 @@ For example:
          (to-group . "\\1"))
 
         ("mail\\.me"
-         (gnus-use-scoring  t))
+         (gnus-use-scoring t))
 
         ("list\\..*"
          (total-expire . t)
          (broken-reply-to . t))))
 @end lisp
 
-The first clause that matches the group name will be used.
+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 @code{display}, the last setting will
+override the first.
 
 Parameters that are strings will be subjected to regexp substitution,
 as the @code{to-group} example shows.