Mercurial > emacs
comparison lisp/mail/rmail.el @ 52866:36bc6bf83146
(rmail-convert-to-babyl-format): Fix the last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 16 Oct 2003 16:54:48 +0000 |
parents | 6cb616f8963b |
children | f2e9f66ff625 |
comparison
equal
deleted
inserted
replaced
52865:d26ce3614865 | 52866:36bc6bf83146 |
---|---|
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)) | 1731 (and (= 0 (% count 10)) |
1732 (message "Converting to Babyl...%d" count))) | 1732 (message "Converting to Babyl format...%d" count))) |
1733 ;;*** MMDF format | 1733 ;;*** MMDF format |
1734 ((let ((case-fold-search t)) | 1734 ((let ((case-fold-search t)) |
1735 (looking-at rmail-mmdf-delim1)) | 1735 (looking-at rmail-mmdf-delim1)) |
1736 (let ((case-fold-search t)) | 1736 (let ((case-fold-search t)) |
1737 (replace-match "\^L\n0, unseen,,\n*** EOOH ***\n") | 1737 (replace-match "\^L\n0, unseen,,\n*** EOOH ***\n") |
1754 (symbol-name last-coding-system-used) | 1754 (symbol-name last-coding-system-used) |
1755 "\n")) | 1755 "\n")) |
1756 (narrow-to-region (point) (point-max)) | 1756 (narrow-to-region (point) (point-max)) |
1757 (setq count (1+ count)) | 1757 (setq count (1+ count)) |
1758 (and (= 0 (% count 10)) | 1758 (and (= 0 (% count 10)) |
1759 (message "Converting to Babyl...%d" count))) | 1759 (message "Converting to Babyl format...%d" count))) |
1760 ;;*** Mail format | 1760 ;;*** Mail format |
1761 ((looking-at "^From ") | 1761 ((looking-at "^From ") |
1762 (insert "\^L\n0, unseen,,\n*** EOOH ***\n") | 1762 (insert "\^L\n0, unseen,,\n*** EOOH ***\n") |
1763 (rmail-nuke-pinhead-header) | 1763 (rmail-nuke-pinhead-header) |
1764 ;; If this message has a Content-Length field, | 1764 ;; If this message has a Content-Length field, |
1862 (insert "X-Coding-System: " | 1862 (insert "X-Coding-System: " |
1863 (symbol-name last-coding-system-used) | 1863 (symbol-name last-coding-system-used) |
1864 "\n")) | 1864 "\n")) |
1865 (narrow-to-region (point) (point-max)) | 1865 (narrow-to-region (point) (point-max)) |
1866 (and (= 0 (% count 10)) | 1866 (and (= 0 (% count 10)) |
1867 (message "Converting to Babyl...%d" count))) | 1867 (message "Converting to Babyl format...%d" count))) |
1868 ;; | 1868 ;; |
1869 ;; This kludge is because some versions of sendmail.el | 1869 ;; This kludge is because some versions of sendmail.el |
1870 ;; insert an extra newline at the beginning that shouldn't | 1870 ;; insert an extra newline at the beginning that shouldn't |
1871 ;; be there. sendmail.el has been fixed, but old versions | 1871 ;; be there. sendmail.el has been fixed, but old versions |
1872 ;; may still be in use. -- rms, 7 May 1993. | 1872 ;; may still be in use. -- rms, 7 May 1993. |