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: Tue, 18 Oct 2011 09:26:18 -0400 Message-ID: References: <83sjmruf7r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318944438 22105 80.91.229.12 (18 Oct 2011 13:27:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2011 13:27:18 +0000 (UTC) Cc: rms@gnu.org, 9766@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 15:27:13 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 1RG9hJ-0004sZ-6L for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 15:27:13 +0200 Original-Received: from localhost ([::1]:39167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG9hI-00041Q-Lu for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2011 09:27:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG9hC-00041B-V4 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 09:27:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RG9hB-00016C-NT for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 09:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RG9hB-000168-Lv for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 09:27:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RG9i6-0005Me-Bv for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 09:28:02 -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: Tue, 18 Oct 2011 13:28:02 +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.131894444820567 (code B ref 9766); Tue, 18 Oct 2011 13:28:02 +0000 Original-Received: (at 9766) by debbugs.gnu.org; 18 Oct 2011 13:27:28 +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 1RG9hX-0005Lf-5g for submit@debbugs.gnu.org; Tue, 18 Oct 2011 09:27:28 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG9hS-0005LV-SU for 9766@debbugs.gnu.org; Tue, 18 Oct 2011 09:27:24 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RG9gQ-0006O8-SF; Tue, 18 Oct 2011 09:26:18 -0400 In-reply-to: (message from Stefan Monnier on Tue, 18 Oct 2011 09:01:21 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 18 Oct 2011 09:28:02 -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:52787 Archived-At: > From: Stefan Monnier > Cc: rms@gnu.org, 9766@debbugs.gnu.org > Date: Tue, 18 Oct 2011 09:01:21 -0400 > > >> > Anyway, if you want to forward the raw form, all you have to do is > >> > type v. That works, too. > >> Not using Rmail myself, I don't know what `v' runs. > > `v' shows the raw message as it came in the mbox file. > > So it would be equivalent to "resend" rather than to "forward", right? No, it's still "forward". The raw message gets appended to whatever you type in the mail composition buffer, before sending the result. The difference is that what gets appended is the original mbox format, complete with MIME headers and bodies of the attachments to that original. By contrast, forwarding without the preceding `v' appends the formatted message, which includes buttons we create out of the MIME attachments. However, these buttons are copied as plain text, which of course is useless to the addressee of the forwarded mail. I think the result after `v' was also incorrect, perhaps because the way sendmail.el calls mml-to-mime is not entirely correct when the body already includes attachments. I will have a second look when I have time (unless Richard beats me to it).