[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7165: 24.0.50; rmail error "Invalid base64 data"
From: |
Kenichi Handa |
Subject: |
bug#7165: 24.0.50; rmail error "Invalid base64 data" |
Date: |
Thu, 14 Oct 2010 13:28:17 +0900 |
In article <1c62xcgo8l.fsf@fencepost.gnu.org>, Glenn Morris <rgm@gnu.org>
writes:
> Kenichi Handa wrote:
> > I suggest this patch (to emacs-23).
> If you are looking for feedback, this looks good to me.
Thank you for verifying it. I've just committed it to emacs-23.
> > === modified file 'lisp/mail/rmail.el'
> > --- lisp/mail/rmail.el 2010-08-20 07:11:35 +0000
> > +++ lisp/mail/rmail.el 2010-10-06 07:22:53 +0000
> > @@ -2742,7 +2742,9 @@
> > nil t 'unibyte)
> > (message "Malformed MIME quoted-printable message")))
> > ((and (string= character-coding "base64") is-text-message)
> > - (base64-decode-region (point-min) (point-max)))
> > + (condition-case err
> > + (base64-decode-region (point-min) (point-max))
> > + (error (message "%s" (cdr err)))))
> > ((eq character-coding 'uuencode)
> > (error "uuencoded messages are not supported yet"))
> > (t))
---
Kenichi Handa
handa@m17n.org