Mercurial > emacs
changeset 111722:c0bbb7dd9600
nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Fri, 26 Nov 2010 02:17:55 +0000 |
parents | 7bb815042e61 |
children | 2abdbb8ce6ca |
files | lisp/gnus/ChangeLog lisp/gnus/nnimap.el |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog Fri Nov 26 02:11:40 2010 +0000 +++ b/lisp/gnus/ChangeLog Fri Nov 26 02:17:55 2010 +0000 @@ -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.
--- a/lisp/gnus/nnimap.el Fri Nov 26 02:11:40 2010 +0000 +++ b/lisp/gnus/nnimap.el Fri Nov 26 02:17:55 2010 +0000 @@ -928,6 +928,7 @@ 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 @@ (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