;;; -*-Scheme-*-
;;;
-;;; $Id: imail-core.scm,v 1.44 2000/05/08 18:50:38 cph Exp $
+;;; $Id: imail-core.scm,v 1.45 2000/05/08 18:51:48 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(guarantee-folder folder 'ATTACH-MESSAGE)
(set-message-folder! message folder))
-(define (detach-message message)
+(define (detach-message! message)
(set-message-folder! message #f)
(set-message-index! message #f))
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-file.scm,v 1.17 2000/05/04 17:40:03 cph Exp $
+;;; $Id: imail-file.scm,v 1.18 2000/05/08 18:51:43 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(if (not (eq? 'UNKNOWN messages))
(begin
(set-file-folder-messages! folder 'UNKNOWN)
- (for-each detach-message messages)))))))
+ (for-each detach-message! messages)))))))
(define-method folder-presentation-name ((folder <file-folder>))
(url-body (folder-url folder)))
(cond ((not (pair? messages))
(set-file-folder-messages! folder (reverse! messages*)))
((message-deleted? (car messages))
- (detach-message (car messages))
+ (detach-message! (car messages))
(folder-modified! folder)
(loop (cdr messages) index messages*))
(else
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-rmail.scm,v 1.22 2000/05/03 19:29:42 cph Exp $
+;;; $Id: imail-rmail.scm,v 1.23 2000/05/08 18:51:36 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(lambda ()
(let ((messages (%file-folder-messages folder)))
(if (not (eq? 'UNKNOWN messages))
- (for-each detach-message messages)))
+ (for-each detach-message! messages)))
(set-file-folder-messages! folder '())))
(call-with-binary-input-file pathname
(lambda (port)