From 9f10d09c5ae2143d5cc10373211fbb61876eaab0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 6 Apr 2000 22:05:53 +0000 Subject: [PATCH] Implement the RMAIL-PRIMARY-INBOX-LIST and RMAIL-SPOOL-DIRECTORY procedures. --- v7/src/imail/imail-rmail.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/v7/src/imail/imail-rmail.scm b/v7/src/imail/imail-rmail.scm index dcc54ba01..bc95106b4 100644 --- a/v7/src/imail/imail-rmail.scm +++ b/v7/src/imail/imail-rmail.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-rmail.scm,v 1.14 2000/04/06 03:25:19 cph Exp $ +;;; $Id: imail-rmail.scm,v 1.15 2000/04/06 22:05:53 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -290,10 +290,17 @@ "RMAIL") (define (rmail-primary-inbox-list) - (error "Unimplemented procedure:" 'RMAIL-PRIMARY-INBOX-LIST)) + (let ((l (variable-value (name->variable 'RMAIL-PRIMARY-INBOX-LIST 'ERROR)))) + (if (null? l) + (os/rmail-primary-inbox-list + (let ((d (os/rmail-spool-directory))) + (if d + (list (string-append d (current-user-name))) + '()))) + l))) (define (rmail-spool-directory) - (error "Unimplemented procedure:" 'RMAIL-SPOOL-DIRECTORY)) + (os/rmail-spool-directory)) (define (read-rmail-inbox folder pathname rename?) (let ((pathname -- 2.25.1