;;; -*-Scheme-*-
;;;
-;;; $Id: imail-imap.scm,v 1.171 2001/05/29 20:41:56 cph Exp $
+;;; $Id: imail-imap.scm,v 1.172 2001/05/29 20:46:28 cph Exp $
;;;
;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology
;;;
n
(loop n/2))))))))
-;;; SET-IMAP-FOLDER-LENGTH! needs explanation. There are two basic
+;;; UPDATE-IMAP-FOLDER-LENGTH! needs explanation. There are two basic
;;; cases.
;;; In the first case, our folder is synchronized with the server,
;;; while reading. If the read finishes, we can do the match/replace
;;; operation atomically.
\f
-(define (set-imap-folder-length! folder count)
+(define (update-imap-folder-length! folder count)
(with-interrupt-mask interrupt-mask/gc-ok
(lambda (interrupt-mask)
(if (or (imap-folder-messages-synchronized? folder)
((imap:response:exists? response)
(with-imap-connection-folder connection
(lambda (folder)
- (set-imap-folder-length! folder
- (imap:response:exists-count response))))
+ (update-imap-folder-length!
+ folder
+ (imap:response:exists-count response))))
#f)
((imap:response:expunge? response)
(with-imap-connection-folder connection
IMAIL To-Do List
-$Id: todo.txt,v 1.122 2001/05/27 05:04:24 cph Exp $
+$Id: todo.txt,v 1.123 2001/05/29 20:42:17 cph Exp $
Bug fixes
---------
folder if it is open, then discard all the state, and finally
reinitialize it to be a closed reference to the new URL.
-* In "imail-imap.scm", FOLDER-LENGTH is just an alias for
- IMAP-FOLDER-N-MESSAGES. Eliminate the latter procedure; it's just a
- slot accessor.
-
* When network connection gets wedged, Edwin locks up and can't be
interrupted with C-g. This is fundamentally an Edwin problem, but
it occurs much more frequently with IMAIL. See if there's a better