2008-05-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * nnheader.el (nnheader-read-timeout): Change the default timeout from
+ 0.1 seconds to 0.01 seconds. This will make nntp and pop3 article
+ retrieval faster in some cases, but might make CPU usage larger. If
+ this has any bad side effects, we might revert this change.
+
* pop3.el (pop3-movemail): Change the sit-for from 0.1 to 0.01, which
seems to make mail retrieval much, much faster.
+ (pop3-movemail): Use nnheader-accept-process-output instead of sleeping
+ unconditionally.
* gnus-draft.el (gnus-group-send-queue): Bind
message-send-mail-partially-limit to nil to avoid being prompted.
;; what's possible. Perhaps better, maybe the Windows/DOS primitive
;; could round up non-zero timeouts to a minimum of 1.0?
1.0
- 0.1)
+ 0.01)
"How long nntp should wait between checking for the end of output.
Shorter values mean quicker response, but are more CPU intensive.")
(unless pop3-leave-mail-on-server
(pop3-dele process n))
(setq n (+ 1 n))
- (if pop3-debug (sit-for 1) (sit-for 0.01))) ; why?
+ (nnheader-accept-process-output process))
(when (and pop3-leave-mail-on-server
(> n 1))
(message "pop3.el doesn't support UIDL. Setting `pop3-leave-mail-on-server'