--- ../../pgnus-sent/lisp/mm-encode.el Thu Sep 2 15:23:36 1999 +++ mm-encode.el Wed Sep 8 17:49:45 1999 @@ -63,7 +63,7 @@ (defun mm-encode-content-transfer-encoding (encoding &optional type) (cond ((eq encoding 'quoted-printable) - (quoted-printable-encode-region (point-min) (point-max))) + (quoted-printable-encode-region (point-min) (point-max) t)) ((eq encoding 'base64) (when (equal type "text/plain") (goto-char (point-min)) --- ../../pgnus-sent/lisp/qp.el Thu Sep 2 15:23:37 1999 +++ qp.el Wed Sep 8 17:07:36 1999 @@ -73,7 +73,7 @@ (save-excursion (save-restriction (narrow-to-region from to) - (mm-encode-body) +;; (mm-encode-body) ;; Encode all the non-ascii and control characters. (goto-char (point-min)) (while (and (skip-chars-forward @@ -95,13 +95,15 @@ (when fold ;; Fold long lines. (goto-char (point-min)) - (end-of-line) - (while (> (current-column) 72) - (beginning-of-line) - (forward-char 72) - (search-backward "=" (- (point) 2) t) - (insert "=\n") - (end-of-line)))))) + (while (not (eobp)) + (end-of-line) + (while (> (current-column) 72) + (beginning-of-line) + (forward-char 72) + (search-backward "=" (- (point) 2) t) + (insert "=\n") + (end-of-line)) + (forward-line)))))) (defun quoted-printable-encode-string (string) "QP-encode STRING and return the results."