# HG changeset patch # User Eli Zaretskii # Date 1066322967 0 # Node ID 6cb616f8963b271d61b09fd2f9c8da3b2e5f30bb # Parent a6d4edb94e8e5a086fcf7ad96c2c086d75058f4c (rmail-convert-to-babyl-format): Display a message while converting to Babyl. diff -r a6d4edb94e8e -r 6cb616f8963b lisp/mail/rmail.el --- a/lisp/mail/rmail.el Thu Oct 16 16:35:14 2003 +0000 +++ b/lisp/mail/rmail.el Thu Oct 16 16:49:27 2003 +0000 @@ -1727,7 +1727,9 @@ (insert "X-Coding-System: " (symbol-name last-coding-system-used) "\n"))) - (narrow-to-region (point) (point-max))) + (narrow-to-region (point) (point-max)) + (and (= 0 (% count 10)) + (message "Converting to Babyl...%d" count))) ;;*** MMDF format ((let ((case-fold-search t)) (looking-at rmail-mmdf-delim1)) @@ -1752,7 +1754,9 @@ (symbol-name last-coding-system-used) "\n")) (narrow-to-region (point) (point-max)) - (setq count (1+ count))) + (setq count (1+ count)) + (and (= 0 (% count 10)) + (message "Converting to Babyl...%d" count))) ;;*** Mail format ((looking-at "^From ") (insert "\^L\n0, unseen,,\n*** EOOH ***\n") @@ -1858,7 +1862,9 @@ (insert "X-Coding-System: " (symbol-name last-coding-system-used) "\n")) - (narrow-to-region (point) (point-max))) + (narrow-to-region (point) (point-max)) + (and (= 0 (% count 10)) + (message "Converting to Babyl...%d" count))) ;; ;; This kludge is because some versions of sendmail.el ;; insert an extra newline at the beginning that shouldn't