2001-09-14 Simon Josefsson <jas@extundo.com>
authorSimon Josefsson <jas@extundo.com>
Fri, 14 Sep 2001 13:35:10 +0000 (13:35 +0000)
committerSimon Josefsson <jas@extundo.com>
Fri, 14 Sep 2001 13:35:10 +0000 (13:35 +0000)
* nnimap.el (nnimap-request-set-mark): Do not store bookmark,
killed or unsent marks.

lisp/ChangeLog
lisp/nnimap.el

index fb5cc41..49f22e8 100644 (file)
@@ -1,5 +1,8 @@
 2001-09-14  Simon Josefsson  <jas@extundo.com>
 
+       * nnimap.el (nnimap-request-set-mark): Do not store bookmark,
+       killed or unsent marks.
+
        * gnus-draft.el (gnus-draft-setup): Don't set mark when there
        isn't an article to set it on (e.g. when you `a' in a group).
 
index fe3f25f..f8addd5 100644 (file)
@@ -953,6 +953,12 @@ function is generally only called when Gnus is shutting down."
                (what  (nth 1 action))
                (cmdmarks (nth 2 action))
                marks)
+           ;; bookmark can't be stored (not list/range
+           (setq cmdmarks (delq 'bookmark cmdmarks))
+           ;; killed can't be stored (not list/range
+           (setq cmdmarks (delq 'killed cmdmarks))
+           ;; unsent are for nndraft groups only
+           (setq cmdmarks (delq 'unsent cmdmarks))
            ;; cache flags are pointless on the server
            (setq cmdmarks (delq 'cache cmdmarks))
            ;; seen flags are local to each gnus