Synch to Gnus 200306050038.
authoryamaoka <yamaoka>
Thu, 5 Jun 2003 01:13:06 +0000 (01:13 +0000)
committeryamaoka <yamaoka>
Thu, 5 Jun 2003 01:13:06 +0000 (01:13 +0000)
lisp/ChangeLog
lisp/qp.el
lisp/rfc2047.el

index 0dbec0d..fb99781 100644 (file)
@@ -1,3 +1,13 @@
+2003-06-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * qp.el (quoted-printable-decode-region): Don't error out on
+       malformed text.
+
+2003-06-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * rfc2047.el (rfc2047-encode-region): Don't error out on invalid
+       strings. 
+
 2003-06-04  Jesper Harder  <harder@ifa.au.dk>
 
        * mml1991.el (mml1991-pgg-sign): Insert pgg output as unibyte.
index b3dfdce..f87ec66 100644 (file)
@@ -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)))))
index cdc918a..6530aaa 100644 (file)
@@ -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)