elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
for full uid range on folder entering, retrieve updates only for
newly appeared messages.
+ * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
+ elmo-imap4-read-response, elmo-imap4-read-untagged,
+ elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
+ to format-time-string.
2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
(t
(error "Invalid argument")))
(setq command-args (cdr command-args)))
- (elmo-imap4-debug "[%s] <- %s" (time-stamp-hh:mm:ss) cmdstr)
+ (elmo-imap4-debug "[%s] <- %s" (format-time-string "%T") cmdstr)
(process-send-string process (concat cmdstr "\r\n"))
tag)))
(elmo-network-session-process-internal session))
(setq elmo-imap4-current-response nil)
(goto-char (point-min))
- (elmo-imap4-debug "[%s] <-- %s" (time-stamp-hh:mm:ss) string)
+ (elmo-imap4-debug "[%s] <-- %s" (format-time-string "%T") string)
(process-send-string (elmo-network-session-process-internal session)
string)
(process-send-string (elmo-network-session-process-internal session)
'(open run))
(accept-process-output (elmo-network-session-process-internal session)
1)))
- (elmo-imap4-debug "[%s] =>%s" (time-stamp-hh:mm:ss) (prin1-to-string elmo-imap4-current-response))
+ (elmo-imap4-debug "[%s] => %s" (format-time-string "%T") (prin1-to-string elmo-imap4-current-response))
(setq elmo-imap4-parsing nil)
elmo-imap4-current-response))
(with-current-buffer (process-buffer process)
(while (not elmo-imap4-current-response)
(accept-process-output process 1))
- (elmo-imap4-debug "[%s] =>%s" (time-stamp-hh:mm:ss) (prin1-to-string elmo-imap4-current-response))
+ (elmo-imap4-debug "[%s] =>%s" (format-time-string "%T") (prin1-to-string elmo-imap4-current-response))
elmo-imap4-current-response))
(defun elmo-imap4-read-continue-req (session)
(defun elmo-imap4-parse-response ()
"Parse a IMAP command response."
- (elmo-imap4-debug "[%s] -> %s" (time-stamp-hh:mm:ss) (buffer-substring (point) (point-max)))
+ (elmo-imap4-debug "[%s] -> %s" (format-time-string "%T") (buffer-substring (point) (point-max)))
(let (token)
(case (setq token (read (current-buffer)))
(+ (progn