aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2003-10-16 16:49:27 +0000
committerEli Zaretskii2003-10-16 16:49:27 +0000
commitd33e73c1eb79ebf599a896a4e05ec9cc28f470b2 (patch)
tree2000b89ccf117344eaa2af375e0298a0f246a505
parent75c65b206652cd9ba05ac1f56aa2ac72c99b3561 (diff)
downloademacs-d33e73c1eb79ebf599a896a4e05ec9cc28f470b2.tar.gz
emacs-d33e73c1eb79ebf599a896a4e05ec9cc28f470b2.zip
(rmail-convert-to-babyl-format): Display a message while converting to Babyl.
-rw-r--r--lisp/mail/rmail.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index ae3fbbd7e3f..e1a180190ec 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1727,7 +1727,9 @@ It returns t if it got any new messages."
1727 (insert "X-Coding-System: " 1727 (insert "X-Coding-System: "
1728 (symbol-name last-coding-system-used) 1728 (symbol-name last-coding-system-used)
1729 "\n"))) 1729 "\n")))
1730 (narrow-to-region (point) (point-max))) 1730 (narrow-to-region (point) (point-max))
1731 (and (= 0 (% count 10))
1732 (message "Converting to Babyl...%d" count)))
1731 ;;*** MMDF format 1733 ;;*** MMDF format
1732 ((let ((case-fold-search t)) 1734 ((let ((case-fold-search t))
1733 (looking-at rmail-mmdf-delim1)) 1735 (looking-at rmail-mmdf-delim1))
@@ -1752,7 +1754,9 @@ It returns t if it got any new messages."
1752 (symbol-name last-coding-system-used) 1754 (symbol-name last-coding-system-used)
1753 "\n")) 1755 "\n"))
1754 (narrow-to-region (point) (point-max)) 1756 (narrow-to-region (point) (point-max))
1755 (setq count (1+ count))) 1757 (setq count (1+ count))
1758 (and (= 0 (% count 10))
1759 (message "Converting to Babyl...%d" count)))
1756 ;;*** Mail format 1760 ;;*** Mail format
1757 ((looking-at "^From ") 1761 ((looking-at "^From ")
1758 (insert "\^L\n0, unseen,,\n*** EOOH ***\n") 1762 (insert "\^L\n0, unseen,,\n*** EOOH ***\n")
@@ -1858,7 +1862,9 @@ It returns t if it got any new messages."
1858 (insert "X-Coding-System: " 1862 (insert "X-Coding-System: "
1859 (symbol-name last-coding-system-used) 1863 (symbol-name last-coding-system-used)
1860 "\n")) 1864 "\n"))
1861 (narrow-to-region (point) (point-max))) 1865 (narrow-to-region (point) (point-max))
1866 (and (= 0 (% count 10))
1867 (message "Converting to Babyl...%d" count)))
1862 ;; 1868 ;;
1863 ;; This kludge is because some versions of sendmail.el 1869 ;; This kludge is because some versions of sendmail.el
1864 ;; insert an extra newline at the beginning that shouldn't 1870 ;; insert an extra newline at the beginning that shouldn't