from the completion operations.
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-core.scm,v 1.111 2000/06/29 22:01:48 cph Exp $
+;;; $Id: imail-core.scm,v 1.112 2000/06/30 17:21:24 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(define-generic %append-message (message url))
-;; -------------------------------------------------------------------
-;; Return a list of URLs for folders that match URL-PATTERN.
-;; URL-PATTERN can contain wildcards.
-
-(define-generic available-folder-names (url-pattern))
-
;; -------------------------------------------------------------------
;; Keep a connection open to the server referenced by URL for the
;; dynamic extent of THUNK.
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-file.scm,v 1.51 2000/06/30 03:08:20 cph Exp $
+;;; $Id: imail-file.scm,v 1.52 2000/06/30 17:21:26 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(lambda (url new-url)
(rename-file (file-url-pathname url) (file-url-pathname new-url)))))
-(define-method available-folder-names ((url <file-url>))
- url
- (error "Unimplemented operation:" 'AVAILABLE-FOLDER-NAMES))
-
(define-method with-open-connection ((url <file-url>) thunk)
url
(thunk))
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-imap.scm,v 1.132 2000/06/30 17:19:53 cph Exp $
+;;; $Id: imail-imap.scm,v 1.133 2000/06/30 17:21:27 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(close-port port)))
(reset-imap-connection connection))
-(define (imap-connection-server-type connection)
- (let ((greeting (imap-connection-greeting connection)))
- (cond ((not (string? greeting)) #f)
- ((string-search-forward " Cyrus " greeting) 'CYRUS)
- (else #f))))
-
(define (with-open-imap-connection url receiver)
(let ((connection (get-imap-connection url #f)))
(dynamic-wind (lambda ()
(message-internal-time message)
(message->string message)))))))))
-(define-method available-folder-names ((url <imap-url>))
- url
- (error "Unimplemented operation:" 'AVAILABLE-FOLDER-NAMES))
-
(define-method with-open-connection ((url <imap-url>) thunk)
(with-open-imap-connection url
(lambda (connection)