From: Lars Ingebrigtsen Date: Fri, 13 Apr 2018 11:40:29 +0000 (+0200) Subject: Tweak nnimap sequence numbers to avoid reuse X-Git-Tag: emacs-27.0.90~5263 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7abc5760bd18f082c9c028d3a5e108200d35d48;p=emacs.git Tweak nnimap sequence numbers to avoid reuse * lisp/gnus/nnimap.el (nnimap-sequence): Start the sequence at a higher number to avoid reusing the sequence number used by `open-network-stream' (bug#30022). --- diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 01d7948afba..65d40eba698 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1865,7 +1865,7 @@ Return the server's response to the SELECT or EXAMINE command." (setq nnimap-connection-alist (delq entry nnimap-connection-alist)) nil)))) -(defvar nnimap-sequence 0) +(defvar nnimap-sequence 5) (defun nnimap-send-command (&rest args) (setf (nnimap-last-command-time nnimap-object) (current-time))