Don't mark nnimap articles as read on a server hangup
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 14 Feb 2015 05:42:41 +0000 (16:42 +1100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 14 Feb 2015 05:42:41 +0000 (16:42 +1100)
commit2b1216b212947dc91ee6c7990fdbead9f51d670a
treeb9ee4271711d024a0a34273f2c7b900c8d0920e4
parent8adead68c4eac297504f95aff5baaa4735de4f2c
Don't mark nnimap articles as read on a server hangup

* nnimap.el (nnimap-retrieve-headers): If the server closes connection
during header retrieval, error out instead of interpreting the data in
the buffer as the only messages there.  This way, we don't mark
articles as read on a server hangup (bug#19035).
lisp/ChangeLog
lisp/nnimap.el