]> git.eshelyaron.com Git - emacs.git/commitdiff
nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 26 Nov 2010 02:17:55 +0000 (02:17 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 26 Nov 2010 02:17:55 +0000 (02:17 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 2705413d2c8b48079d54a4ba56ac0d4ac955bba4..f1340c6593dd5dd0c43a00080c7b4763d91c6fc7 100644 (file)
@@ -1,5 +1,7 @@
 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
+
        * gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of
        'add and 'delete to set backend marks.
 
index 0a0b413d3d25c25df6878ee4f9bd87af6b1b4c0b..307deba8afde24a55857117574307912eaba4115 100644 (file)
@@ -928,6 +928,7 @@ textual parts.")
     flags))
 
 (deffoo nnimap-request-set-mark (group actions &optional server)
+  (debug)
   (when (nnimap-possibly-change-group group server)
     (let (sequence)
       (with-current-buffer (nnimap-buffer)
@@ -943,7 +944,7 @@ textual parts.")
                                (nnimap-article-ranges range)
                                (cond
                                 ((eq action 'del) "-")
-                                ((eq action 'add) "-")
+                                ((eq action 'add) "+")
                                 ((eq action 'set) ""))
                                (mapconcat #'identity flags " ")))))))
        ;; Wait for the last command to complete to avoid later