;;; -*-Scheme-*-
;;;
-;;; $Id: imail-top.scm,v 1.110 2000/05/25 22:16:42 cph Exp $
+;;; $Id: imail-top.scm,v 1.111 2000/05/25 22:24:09 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(if url-string
(imail-parse-partial-url url-string)
(imail-default-url)))))
- (select-buffer
- (let ((buffer
- (or (imail-folder->buffer folder #f)
- (let ((buffer
- (new-buffer
- (url-presentation-name (folder-url folder)))))
- (associate-imail-with-buffer buffer folder #f)
- buffer))))
- (select-message folder
- (or (first-unseen-message folder)
- (selected-message #f buffer))
- #t)
- buffer)))))
+ (let ((buffer (imail-folder->buffer folder #f)))
+ (if buffer
+ (begin
+ (select-buffer buffer)
+ ((ref-command imail-get-new-mail)))
+ (begin
+ (let ((buffer
+ (new-buffer
+ (url-presentation-name (folder-url folder)))))
+ (associate-imail-with-buffer buffer folder #f)
+ (select-buffer buffer))
+ (select-message folder
+ (or (first-unseen-message folder)
+ (selected-message #f))
+ #t)))))))
(define (prompt-for-imail-url-string prompt . options)
(let ((get-option
(define-key 'imail #\- 'imail-delete-folder)
(define-key 'imail #\q 'imail-quit)
(define-key 'imail #\? 'describe-mode)
-
+\f
(define (imail-revert-buffer buffer dont-use-auto-save? dont-confirm?)
dont-use-auto-save?
(let ((folder (selected-folder #t buffer)))
IMAIL To-Do List
-$Id: todo.txt,v 1.51 2000/05/25 22:16:53 cph Exp $
+$Id: todo.txt,v 1.52 2000/05/25 22:24:20 cph Exp $
Bug fixes
---------
-* M-x imail should run M-x imail-get-new-mail when started. This
- probably means that OPEN-FOLDER need not initiate a connection.
-
* M-x imail-copy-messages re-reads the target folder UIDs for each
message that is written, when the target folder is not being
visited. [I haven't seen this lately. Maybe it's fixed?]