From 459d5ba45854bcfb9bcf5f3dda101e1410f3de4f Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 5 Jun 2003 01:13:06 +0000 Subject: [PATCH] Synch to Gnus 200306050038. --- lisp/ChangeLog | 10 ++++++++++ lisp/qp.el | 2 +- lisp/rfc2047.el | 5 +++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0dbec0d..fb99781 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,13 @@ +2003-06-05 Lars Magne Ingebrigtsen + + * qp.el (quoted-printable-decode-region): Don't error out on + malformed text. + +2003-06-04 Lars Magne Ingebrigtsen + + * rfc2047.el (rfc2047-encode-region): Don't error out on invalid + strings. + 2003-06-04 Jesper Harder * mml1991.el (mml1991-pgg-sign): Insert pgg output as unibyte. diff --git a/lisp/qp.el b/lisp/qp.el index b3dfdce..f87ec66 100644 --- a/lisp/qp.el +++ b/lisp/qp.el @@ -74,7 +74,7 @@ them into characters should be done separately." (mm-insert-byte byte 1) (delete-char 3))) (t - (error "Malformed quoted-printable text") + (message "Malformed quoted-printable text") (forward-char))))) (if coding-system (mm-decode-coding-region (point-min) (point-max) coding-system))))) diff --git a/lisp/rfc2047.el b/lisp/rfc2047.el index cdc918a..6530aaa 100644 --- a/lisp/rfc2047.el +++ b/lisp/rfc2047.el @@ -378,8 +378,9 @@ Dynamically bind `rfc2047-encoding-type' to change that." end (1+ end))) (rfc2047-encode start end) (setq last-encoded t))))) - (error (error "Invalid data for rfc2047 encoding: %s" - (buffer-substring b e))))))) + (error + (message "Invalid data for rfc2047 encoding: %s" + (buffer-substring b e))))))) (rfc2047-fold-region b (point)))) (defun rfc2047-encode-string (string) -- 1.7.10.4