;;; -*-Scheme-*-
;;;
-;;; $Id: imail-top.scm,v 1.84 2000/05/22 14:50:30 cph Exp $
+;;; $Id: imail-top.scm,v 1.85 2000/05/22 19:48:23 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(lambda (url-string)
(let ((folder (selected-folder))
(to (imail-parse-partial-url url-string)))
- (let ((n (folder-length folder)))
- (do ((i 0 (+ i 1)))
- ((= i n))
- (append-message (get-message folder i) to))))))
+ ;; Kludge: by opening the folder, we prevent a condition where
+ ;; writing messages to an IMAP folder opens a new connection for
+ ;; each message.
+ (with-open-folder to
+ (lambda ()
+ (let ((n (folder-length folder)))
+ (do ((i 0 (+ i 1)))
+ ((= i n))
+ (append-message (get-message folder i) to))))))))
\f
;;;; Sending mail
IMAIL To-Do List
-$Id: todo.txt,v 1.35 2000/05/22 15:25:43 cph Exp $
+$Id: todo.txt,v 1.36 2000/05/22 19:50:15 cph Exp $
Bug fixes
---------
* Login messages interfere with modeline when doing completion on IMAP
URLs.
-* M-x imail-copy-message reopens the IMAP connection for each message
- that it sends.
-
* Implement operations for IMAP: URL-EXISTS?.
* Recovery from server disconnection should be more transparent.