From: Lars Magne Ingebrigtsen Date: Tue, 21 Sep 2010 21:05:28 +0000 (+0200) Subject: Hack to avoid adjusting marks for nnimap, which is seldom the right thing to do. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=1619cfb43ed1b9349fbf0741843a5c8e72e74099 Hack to avoid adjusting marks for nnimap, which is seldom the right thing to do. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 845c3bd6d..9cc651140 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2010-09-21 Lars Magne Ingebrigtsen + * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting + marks for nnimap, which is seldom the right thing to do. + * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out. (gnus-same-method-different-name): New function. diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 047fa6701..2ef0ce6af 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -5850,6 +5850,9 @@ If SELECT-ARTICLES, only select those articles from GROUP." (types gnus-article-mark-lists) marks var articles article mark mark-type bgn end) + ;; Hack to avoid adjusting marks for imap. + (when (eq (car (gnus-find-method-for-group group)) 'nnimap) + (setq min 1) (dolist (marks marked-lists) (setq mark (car marks)