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#9392: 24.0.50; rmail-forward produces messages in unsupported format that cannot be customized away Date: Tue, 30 Aug 2011 09:36:08 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314664629 17903 80.91.229.12 (30 Aug 2011 00:37:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2011 00:37:09 +0000 (UTC) Cc: 9392@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 30 02:37:03 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 1QyCK7-000817-8m for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Aug 2011 02:37:03 +0200 Original-Received: from localhost ([::1]:55550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyCK6-0004SI-Rd for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Aug 2011 20:37:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyCK4-0004SD-8A for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 20:37:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyCK3-0005Br-AC for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 20:37:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyCK3-0005Bl-4v for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 20:36:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QyCN0-0004pG-Dk; Mon, 29 Aug 2011 20:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa 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 00:40:02 +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.131466478118519 (code B ref 9392); Tue, 30 Aug 2011 00:40:02 +0000 Original-Received: (at 9392) by debbugs.gnu.org; 30 Aug 2011 00:39:41 +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 1QyCMW-0004oT-L8 for submit@debbugs.gnu.org; Mon, 29 Aug 2011 20:39:41 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QyCMG-0004o5-57 for 9392@debbugs.gnu.org; Mon, 29 Aug 2011 20:39:30 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p7U0a94i002649; Tue, 30 Aug 2011 09:36:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p7U0a9rI029195; Tue, 30 Aug 2011 09:36:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p7U0a8LL028108; Tue, 30 Aug 2011 09:36:08 +0900 (JST) env-from (handa@m17n.org) In-Reply-To: (message from Eli Zaretskii on Mon, 29 Aug 2011 01:17:39 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Aug 2011 20:40:02 -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:50412 Archived-At: In article , Eli Zaretskii writes: > > > *Note (emacs-mime) MML Definition:: > > > > Thanks. So you are saying that the _actual_ bug is that rmail-forward > > doesn't run the outgoing message buffer through mml-generate-mime, is > > that right? > Actually, I should have told that the original problem happens with > mail-user-agent set to sendmail-user-agent. > 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. 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 So, I'm sending this mail replacing that kind of text with "#part tag". --- Kenichi Handa handa@m17n.org