aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-01-14 23:26:28 -0500
committerStefan Monnier2013-01-14 23:26:28 -0500
commitef8214345ba7b46de9837fbe9461e19f18e6d660 (patch)
tree741c599e4484ec035312f4eae8c13f1a870e714f
parent6e8cd0aecac332675ea1a700c7e3db3d48f62c15 (diff)
downloademacs-ef8214345ba7b46de9837fbe9461e19f18e6d660.tar.gz
emacs-ef8214345ba7b46de9837fbe9461e19f18e6d660.zip
* lisp/gnus/nnimap.el (nnimap-keepalive): Don't throw an error if there's no
more imap process running.
-rw-r--r--lisp/gnus/ChangeLog17
-rw-r--r--lisp/gnus/nnimap.el5
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2b09a1f456c..733f1d26510 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,7 +1,12 @@
12013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * nnimap.el (nnimap-keepalive): Don't throw an error if there's no more
4 imap process running.
5
12013-01-14 Julien Danjou <julien@danjou.info> 62013-01-14 Julien Danjou <julien@danjou.info>
2 7
3 * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Compare 8 * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
4 addresses against addresses, not against the full From field. 9 Compare addresses against addresses, not against the full From field.
5 10
62013-01-13 Richard Stallman <rms@gnu.org> 112013-01-13 Richard Stallman <rms@gnu.org>
7 12
@@ -178,8 +183,8 @@
178 the `face' property with a list whose car is the face specified in the 183 the `face' property with a list whose car is the face specified in the
179 format string and whose cdr is (nil). 184 format string and whose cdr is (nil).
180 * lisp/gnus-util.el 185 * lisp/gnus-util.el
181 (gnus-put-text-property-excluding-characters-with-faces): Change 186 (gnus-put-text-property-excluding-characters-with-faces):
182 accordingly. 187 Change accordingly.
183 (gnus-get-text-property-excluding-characters-with-faces): New function. 188 (gnus-get-text-property-excluding-characters-with-faces): New function.
184 * lisp/gnus-sum.el (gnus-summary-highlight-line): 189 * lisp/gnus-sum.el (gnus-summary-highlight-line):
185 * lisp/gnus-salt.el (gnus-tree-highlight-node): 190 * lisp/gnus-salt.el (gnus-tree-highlight-node):
@@ -227,8 +232,8 @@
227 232
2282012-12-22 Philipp Haselwarter <philipp@haselwarter.org> 2332012-12-22 Philipp Haselwarter <philipp@haselwarter.org>
229 234
230 * gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save): Set 235 * gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save):
231 epa-file-encrypt-to from variable to avoid querying. 236 Set epa-file-encrypt-to from variable to avoid querying.
232 237
2332012-12-14 Akinori MUSHA <knu@iDaemons.org> (tiny change) 2382012-12-14 Akinori MUSHA <knu@iDaemons.org> (tiny change)
234 239
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index ea579fa3a2b..9c18bc2cff0 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -339,7 +339,8 @@ textual parts.")
339 (nnimap-last-command-time nnimap-object))) 339 (nnimap-last-command-time nnimap-object)))
340 ;; More than five minutes since the last command. 340 ;; More than five minutes since the last command.
341 (* 5 60))) 341 (* 5 60)))
342 (nnimap-send-command "NOOP"))))))) 342 (ignore-errors ;E.g. "buffer foo has no process".
343 (nnimap-send-command "NOOP"))))))))
343 344
344(defun nnimap-open-connection (buffer) 345(defun nnimap-open-connection (buffer)
345 ;; Be backwards-compatible -- the earlier value of nnimap-stream was 346 ;; Be backwards-compatible -- the earlier value of nnimap-stream was
@@ -367,7 +368,7 @@ textual parts.")
367(defun nnimap-open-connection-1 (buffer) 368(defun nnimap-open-connection-1 (buffer)
368 (unless nnimap-keepalive-timer 369 (unless nnimap-keepalive-timer
369 (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15) 370 (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15)
370 'nnimap-keepalive))) 371 #'nnimap-keepalive)))
371 (with-current-buffer (nnimap-make-process-buffer buffer) 372 (with-current-buffer (nnimap-make-process-buffer buffer)
372 (let* ((coding-system-for-read 'binary) 373 (let* ((coding-system-for-read 'binary)
373 (coding-system-for-write 'binary) 374 (coding-system-for-write 'binary)