;;; -*-Scheme-*-
;;;
-;;; $Id: imail-top.scm,v 1.278 2001/11/06 04:45:13 cph Exp $
+;;; $Id: imail-top.scm,v 1.279 2001/12/03 18:12:58 cph Exp $
;;;
;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology
;;;
(define-variable imail-forward-all-headers
"If true, forwarded email messages will contain all header fields.
Otherwise, only the header fields normally shown by IMAIL are sent."
- #f
- boolean?)
+ 'ASK
+ (lambda (x) (or (boolean? x) (eq? x 'ASK))))
\f
(define-variable imail-forward-using-mime
"If true, forwarded email messages are sent as MIME attachments.
(let ((raw?
(if (< (command-argument-numeric-value argument) 0)
#t
- (ref-variable imail-forward-all-headers mail-buffer))))
+ (let ((all?
+ (ref-variable imail-forward-all-headers mail-buffer)))
+ (if (eq? all? 'ASK)
+ (prompt-for-confirmation? "Forward all header fields")
+ all?)))))
(if (ref-variable imail-forward-using-mime mail-buffer)
(add-buffer-mime-attachment!
mail-buffer
;;; -*-Scheme-*-
;;;
-;;; $Id: load.scm,v 1.36 2001/11/11 06:05:54 cph Exp $
+;;; $Id: load.scm,v 1.37 2001/12/03 18:13:08 cph Exp $
;;;
;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology
;;;
(lambda ()
(fluid-let ((*allow-package-redefinition?* #t))
(load-package-set "imail"))))
-(add-subsystem-identification! "IMAIL" '(1 16))
\ No newline at end of file
+(add-subsystem-identification! "IMAIL" '(1 17))
\ No newline at end of file