diff options
| author | Lars Magne Ingebrigtsen | 2016-03-14 20:23:30 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2016-03-14 20:23:30 +0100 |
| commit | d5427e71da28856c5e43396a37ffd0c906947499 (patch) | |
| tree | dec6b5922a5e4e0c34de911b6b3775171abece9c /lisp | |
| parent | 8ed27bdf88cab134c26f3609c4d11c574f74705c (diff) | |
| download | emacs-d5427e71da28856c5e43396a37ffd0c906947499.tar.gz emacs-d5427e71da28856c5e43396a37ffd0c906947499.zip | |
Disable MOVE more for Dovecot
* lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also
disable MOVE when expirying.
(nnimap-split-incoming-mail): And when splitting mail.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/nnimap.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 90de1682861..2e2ec59aa5d 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -997,7 +997,8 @@ textual parts.") | |||
| 997 | (and (nnimap-change-group group server) | 997 | (and (nnimap-change-group group server) |
| 998 | (with-current-buffer (nnimap-buffer) | 998 | (with-current-buffer (nnimap-buffer) |
| 999 | (nnheader-message 7 "Expiring articles from %s: %s" group articles) | 999 | (nnheader-message 7 "Expiring articles from %s: %s" group articles) |
| 1000 | (let ((can-move (nnimap-capability "MOVE"))) | 1000 | (let ((can-move (and (nnimap-capability "MOVE") |
| 1001 | (equal (nnimap-quirk "MOVE") "MOVE")))) | ||
| 1001 | (nnimap-command | 1002 | (nnimap-command |
| 1002 | (if can-move | 1003 | (if can-move |
| 1003 | "UID MOVE %s %S" | 1004 | "UID MOVE %s %S" |
| @@ -2068,7 +2069,8 @@ Return the server's response to the SELECT or EXAMINE command." | |||
| 2068 | nnmail-split-fancy)) | 2069 | nnmail-split-fancy)) |
| 2069 | (nnmail-inhibit-default-split-group t) | 2070 | (nnmail-inhibit-default-split-group t) |
| 2070 | (groups (nnimap-get-groups)) | 2071 | (groups (nnimap-get-groups)) |
| 2071 | (can-move (nnimap-capability "MOVE")) | 2072 | (can-move (and (nnimap-capability "MOVE") |
| 2073 | (equal (nnimap-quirk "MOVE") "MOVE"))) | ||
| 2072 | new-articles) | 2074 | new-articles) |
| 2073 | (erase-buffer) | 2075 | (erase-buffer) |
| 2074 | (nnimap-command "SELECT %S" nnimap-inbox) | 2076 | (nnimap-command "SELECT %S" nnimap-inbox) |