[Date Prev][Date Next] [Chronological] [Thread] [Top]

nnimap-split-rule's order not respected



Setup: 
  
  nnimap 0.98, pgnus 0.83, XEmacs 20.4 "Emerald".  

Synopsis: 
   
  Split does not respect the order of rules in `nnimap-split-rule'.
  It seems to pick the last match instead of the first one.

Desription:
  
  A. when using nnimap-split-rule's order such as:

        ("root" "^From:.*root")
        ("main" "")

     mail from root goes to "main".  The *nnmail-debug* buffer shows
     that both rules were correctly matched:

        nnimap-split-to-groups: ("main" "root") 

     the order gets inverted and mail goes to the "main" group.
     (`nnimap-split-crosspost' is not set).

  B. when inverting nnimap-split-rule's order:

        ("main" "")
        ("root" "^From:.*root")

     mail from root goes to "root" group.

Tibor
-- 
Any program will expand to fill available memory.  
        --An Abridged Collection of Interdisciplinary Laws