"Bruno Hertz" <[EMAIL PROTECTED]> writes:

> Two solutions come to mind: redefine gnus-article-mark-lists, which
> would be somewhat arbitrary and maybe invite for future mistakes, or
> sort the actions in nnimap-request-set-mark to do deletes first.

OK, for the records, as a quick fix I put the following into my .gnus:

 (defun nnimap-mark-action-is-less-p (a b)
   (if (and (eq (nth 1 a) 'del) (eq (nth 1 b) 'add)) t nil))
 (defadvice nnimap-request-set-mark
   (before nnimap-request-set-mark-sort-actions
           (group actions &optional server) activate compile)
   (setq actions (sort actions 'nnimap-mark-action-is-less-p)))

Regards, Bruno.
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to