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#9392: 24.0.50; rmail-forward produces messages in unsupported format that cannot be customized away Date: Tue, 30 Aug 2011 05:57:33 +0300 Message-ID: <8362lffvxe.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314673085 31652 80.91.229.12 (30 Aug 2011 02:58:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 02:58:05 +0000 (UTC) Cc: 9392@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 04:58:01 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 1QyEWX-0002rQ-Bk for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 04:58:01 +0200 Original-Received: from localhost ([::1]:53940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyEWW-0005Ep-Vj for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Aug 2011 22:58:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyEWU-0005EZ-Ou for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 22:57:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyEWT-0002dH-Cc for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 22:57:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyEWT-0002dD-9u for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 22:57:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QyEZR-0006Ng-T2; Mon, 29 Aug 2011 23:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Aug 2011 03:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9392 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9392-submit@debbugs.gnu.org id=B9392.131467324224499 (code B ref 9392); Tue, 30 Aug 2011 03:01:01 +0000 Original-Received: (at 9392) by debbugs.gnu.org; 30 Aug 2011 03:00:42 +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 1QyEZ7-0006N6-ON for submit@debbugs.gnu.org; Mon, 29 Aug 2011 23:00:42 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyEZ5-0006Mz-SQ for 9392@debbugs.gnu.org; Mon, 29 Aug 2011 23:00:40 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LQQ0060003SET00@a-mtaout23.012.net.il> for 9392@debbugs.gnu.org; Tue, 30 Aug 2011 05:57:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQQ0067I07W9PB0@a-mtaout23.012.net.il>; Tue, 30 Aug 2011 05:57:33 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Aug 2011 23:01:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50415 Archived-At: > From: Kenichi Handa > Cc: 9392@debbugs.gnu.org > Date: Tue, 30 Aug 2011 09:36:08 +0900 > > > So, given the above input regarding MML, I assumed that message.el > > does TRT with MML before sending the forwarded message, and tried > > rmail-forward in "emacs -Q". However, with that configuration, the > > code which inserts the MML #part tag is never executed, and in > > fact the "*unsent mail*" buffer popped by message.el does not have the > > text of the message being forwarded; the body of the composed message > > is empty. > > I have not noticed this bug because I seldom do > rmail-forward; instead I freaquently do rmail-resend (C-u f) > which still works in the latest Emacs. > > My last changes to rmail.el and rmailmm.el were before the > release of 23.3, and for 23.3, I surely tested that > rmail-forward worked with "emacs -Q" (but I must confess that I > forgot to test the other configuration). > > > AFAICS, the #part tag is not inserted because rmail-forward > > expects rmail-start-mail return a non-nil value, but with > > message-user-agent it returns nil. > > So, It seems that something has been changed after the > release of 23.3. Can some expert on message.el please help? E.g., how is forwarding supposed to work with message.el? > By the way, I found that if a sending mail contains "<" > followed by "#part", the following error is signaled. > > forward-sexp: Scan error: "Containing expression ends prematurely", 1099, 1100 Is there some method of quoting/escaping <#part ...> so that MML is left alone?