From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9766: 24.0.50; rmail-forward makes attachment that doesn't read right Date: Mon, 17 Oct 2011 10:07:55 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318864420 4726 80.91.229.12 (17 Oct 2011 15:13:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 15:13:40 +0000 (UTC) Cc: 9766@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 17:13:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFosc-0002GG-5v for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 17:13:30 +0200 Original-Received: from localhost ([::1]:35067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnrj-0002wX-Ae for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 10:08:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnrP-0001qe-L7 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 10:08:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFnrO-0004Zt-Du for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 10:08:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnrO-0004Zp-CH for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 10:08:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RFnsD-00019d-MV for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 10:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2011 14:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9766-submit@debbugs.gnu.org id=B9766.13188605364426 (code B ref 9766); Mon, 17 Oct 2011 14:09:01 +0000 Original-Received: (at 9766) by debbugs.gnu.org; 17 Oct 2011 14:08:56 +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 1RFns8-00019L-5O for submit@debbugs.gnu.org; Mon, 17 Oct 2011 10:08:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFns5-00019C-Ib for 9766@debbugs.gnu.org; Mon, 17 Oct 2011 10:08:54 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RFnr9-0006UU-MT; Mon, 17 Oct 2011 10:07:55 -0400 In-reply-to: (message from Richard Stallman on Mon, 17 Oct 2011 09:14:44 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 17 Oct 2011 10:09:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52720 Archived-At: > Date: Mon, 17 Oct 2011 09:14:44 -0400 > From: Richard Stallman > CC: 9766@debbugs.gnu.org > > Actually that copying is done by > rmail-insert-mime-resent-message > (rmail-insert-mime-resent-message-function is set to it when > rmailmm.el is loaded), and that function was changed by RMS > as this. > > My change was to forward the message as displayed, rather than the raw > text of the message. Was it for the MIME version of forwarding or for the inline version? The problem we have now is only with the MIME version. > Anyway, there is still a bug. Some different bug. Can someone tell > me what is wrong with the output that is generated now? If I know > what output would be correct, I can fix this bug. I think what needs to be done is to copy into the buffer where mail is composed the message in the original form, not in the form we put into the rmail-view-buffer. For the definitive answer, I suggest to start Emacs with the default value of mail-user-agent, start Rmail, forward (to yourself) a message with attachments, and then look at hoe message.el did it.