From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#7165: 24.0.50; rmail error "Invalid base64 data" Date: Thu, 14 Oct 2010 13:28:17 +0900 Message-ID: References: <1c62xcgo8l.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287031368 17352 80.91.229.12 (14 Oct 2010 04:42:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Oct 2010 04:42:48 +0000 (UTC) Cc: 7165-done@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 14 06:42:46 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6FeJ-0006kF-AB for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Oct 2010 06:42:39 +0200 Original-Received: from localhost ([127.0.0.1]:41906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6FeI-0002WN-3q for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Oct 2010 00:42:38 -0400 Original-Received: from [140.186.70.92] (port=34950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6Fe6-0002V2-K8 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 00:42:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6Fe5-0008E4-0i for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 00:42:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6Fe4-0008Dy-TE for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 00:42:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P6FNG-0002pP-9E for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2010 00:25:02 -0400 Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2010 04:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7165 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 7165@debbugs.gnu.org, handa@m17n.org Original-Received: via spool by 7165-done@debbugs.gnu.org id=D7165.128703029210864 (code D ref 7165); Thu, 14 Oct 2010 04:25:01 +0000 Original-Received: (at 7165-done) by debbugs.gnu.org; 14 Oct 2010 04:24:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6FN6-0002pB-Cc for submit@debbugs.gnu.org; Thu, 14 Oct 2010 00:24:52 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P6FN3-0002p4-2b for 7165-done@debbugs.gnu.org; Thu, 14 Oct 2010 00:24:50 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id o9E4SJSQ010576; Thu, 14 Oct 2010 13:28:19 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id o9E4SIcd016882; Thu, 14 Oct 2010 13:28:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id o9E4SI0X022491; Thu, 14 Oct 2010 13:28:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1P6FQQ-0003nD-1q; Thu, 14 Oct 2010 13:28:18 +0900 In-Reply-To: <1c62xcgo8l.fsf@fencepost.gnu.org> (message from Glenn Morris on Fri, 08 Oct 2010 21:15:54 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Oct 2010 00:25:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40881 Archived-At: In article <1c62xcgo8l.fsf@fencepost.gnu.org>, Glenn Morris 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