[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nnimap 0.32+ patch for gnus.



`gnus-remove-from-range' is buggy.

Demonstration: (gnus-remove-from-range '(1 . 10) '(5 15)).

This patch should hopefully apply to most Gnus-versions.

--- lisp/gnus-range.el-      Sat Oct 10 22:10:17 1998
+++ lisp/gnus-range.el       Mon Oct  5 16:48:38 1998
@@ -229,7 +229,7 @@
 Note: LIST has to be sorted over `<'."
   ;; !!! This function shouldn't look like this, but I've got a headache.
   (gnus-compress-sequence
-   (gnus-sorted-complement
+   (gnus-set-difference
     (gnus-uncompress-range ranges) list)))
 
 (defun gnus-member-of-range (number ranges)