From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: rmail-reply problem [Re: Deeper freeze for Emacs-23 branch soon] Date: Mon, 21 Feb 2011 12:19:57 -0500 Message-ID: <87fwrhz4n6.fsf@stupidchicken.com> References: <87bp2w4cpt.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298308961 24091 80.91.229.12 (21 Feb 2011 17:22:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 17:22:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 21 18:22:37 2011 Return-path: Envelope-to: ged-emacs-devel@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 1PrZT2-0000rZ-Iu for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 18:22:36 +0100 Original-Received: from localhost ([127.0.0.1]:57312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrZT1-0008IG-Tr for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 12:22:36 -0500 Original-Received: from [140.186.70.92] (port=47776 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrZQe-0007PN-T4 for emacs-devel@gnu.org; Mon, 21 Feb 2011 12:20:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrZQd-0005Gl-JN for emacs-devel@gnu.org; Mon, 21 Feb 2011 12:20:08 -0500 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:53392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrZQd-0005Ga-Hn for emacs-devel@gnu.org; Mon, 21 Feb 2011 12:20:07 -0500 Original-Received: from furball (dhcp128036225081.central.yale.edu [128.36.225.81]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1LHK3tY021928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 21 Feb 2011 12:20:03 -0500 Original-Received: by furball (Postfix, from userid 1000) id 8599116054E; Mon, 21 Feb 2011 12:19:57 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Mon, 21 Feb 2011 11:30:55 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136325 Archived-At: Kenichi Handa writes: > I've just found that rmail-reply still inserts raw headers > in a reply buffer as something like these: > > From: =?utf-8?B?0JrQvtC90L7QvSDQkNGE0LDQvdCw0YHRjNC10LLQuNGH?= > Subject: =?utf-8?B?0JrQu9C10L3QvtCy0YvQuSDRgdC40YDQvtC/Lg==?= > > As a result, sending such a message results in > doubly-decoded headers and thus mail clients receiving such > messages don't show the correct strings. > > I have not noticed this problem because I've been using a > special hook to workaround it. :-( > > The simplest and safe fix seems to be the attached one. > But, I'm not sure installing it satisfies the criteria of > "deep freeze" (although I strongly recommend it). > > Please judge it. Yes, this ought to be fixed for 23.3. Your patch seems to do the right thing; please commit it, and thanks for spotting this.