Commit ef821434 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/gnus/nnimap.el (nnimap-keepalive): Don't throw an error if there's no

more imap process running.
parent 6e8cd0ae
2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
* nnimap.el (nnimap-keepalive): Don't throw an error if there's no more
imap process running.
2013-01-14 Julien Danjou <julien@danjou.info> 2013-01-14 Julien Danjou <julien@danjou.info>
   
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Compare * gnus-sum.el (gnus-summary-from-or-to-or-newsgroups):
addresses against addresses, not against the full From field. Compare addresses against addresses, not against the full From field.
   
2013-01-13 Richard Stallman <rms@gnu.org> 2013-01-13 Richard Stallman <rms@gnu.org>
   
...@@ -178,8 +183,8 @@ ...@@ -178,8 +183,8 @@
the `face' property with a list whose car is the face specified in the the `face' property with a list whose car is the face specified in the
format string and whose cdr is (nil). format string and whose cdr is (nil).
* lisp/gnus-util.el * lisp/gnus-util.el
(gnus-put-text-property-excluding-characters-with-faces): Change (gnus-put-text-property-excluding-characters-with-faces):
accordingly. Change accordingly.
(gnus-get-text-property-excluding-characters-with-faces): New function. (gnus-get-text-property-excluding-characters-with-faces): New function.
* lisp/gnus-sum.el (gnus-summary-highlight-line): * lisp/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus-salt.el (gnus-tree-highlight-node): * lisp/gnus-salt.el (gnus-tree-highlight-node):
...@@ -227,8 +232,8 @@ ...@@ -227,8 +232,8 @@
   
2012-12-22 Philipp Haselwarter <philipp@haselwarter.org> 2012-12-22 Philipp Haselwarter <philipp@haselwarter.org>
   
* gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save): Set * gnus-sync.el (gnus-sync-file-encrypt-to, gnus-sync-save):
epa-file-encrypt-to from variable to avoid querying. Set epa-file-encrypt-to from variable to avoid querying.
   
2012-12-14 Akinori MUSHA <knu@iDaemons.org> (tiny change) 2012-12-14 Akinori MUSHA <knu@iDaemons.org> (tiny change)
   
......
...@@ -339,7 +339,8 @@ textual parts.") ...@@ -339,7 +339,8 @@ textual parts.")
(nnimap-last-command-time nnimap-object))) (nnimap-last-command-time nnimap-object)))
;; More than five minutes since the last command. ;; More than five minutes since the last command.
(* 5 60))) (* 5 60)))
(nnimap-send-command "NOOP"))))))) (ignore-errors ;E.g. "buffer foo has no process".
(nnimap-send-command "NOOP"))))))))
(defun nnimap-open-connection (buffer) (defun nnimap-open-connection (buffer)
;; Be backwards-compatible -- the earlier value of nnimap-stream was ;; Be backwards-compatible -- the earlier value of nnimap-stream was
...@@ -367,7 +368,7 @@ textual parts.") ...@@ -367,7 +368,7 @@ textual parts.")
(defun nnimap-open-connection-1 (buffer) (defun nnimap-open-connection-1 (buffer)
(unless nnimap-keepalive-timer (unless nnimap-keepalive-timer
(setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15) (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15)
'nnimap-keepalive))) #'nnimap-keepalive)))
(with-current-buffer (nnimap-make-process-buffer buffer) (with-current-buffer (nnimap-make-process-buffer buffer)
(let* ((coding-system-for-read 'binary) (let* ((coding-system-for-read 'binary)
(coding-system-for-write 'binary) (coding-system-for-write 'binary)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment