From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Akop Pogosian Newsgroups: gmane.emacs.bugs Subject: metamail commands don't work Date: Mon, 7 Oct 2002 19:26:10 -0700 (PDT) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200210080226.TAA12108@zig.math.Berkeley.EDU> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034044013 1339 127.0.0.1 (8 Oct 2002 02:26:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2002 02:26:53 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yk5A-0000L6-00 for ; Tue, 08 Oct 2002 04:26:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yk5U-0000hQ-00; Mon, 07 Oct 2002 22:27:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yk4f-0008Tz-00 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2002 22:26:17 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yk4a-0008If-00 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2002 22:26:14 -0400 Original-Received: from gold.math.berkeley.edu ([169.229.58.61] helo=Math.Berkeley.EDU) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yk4Z-0008IO-00 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2002 22:26:11 -0400 Original-Received: from zig.math.Berkeley.EDU (zig.Math.Berkeley.EDU [169.229.58.39]) by Math.Berkeley.EDU (8.12.3/8.12.3) with ESMTP id g982QA0n015720 for ; Mon, 7 Oct 2002 19:26:10 -0700 (PDT) Original-Received: (from akopps@localhost) by zig.math.Berkeley.EDU (8.9.3/8.9.3) id TAA12108; Mon, 7 Oct 2002 19:26:10 -0700 (PDT) Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3663 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3663 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (sparc-sun-solaris2.6, X toolkit) of 2002-03-27 on gold configured using `configure --prefix=/local/sol/2.6/depot/emacs-21.2' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In the older versions of emacs, if you run M-x metamail-interpret-body, the metamail program would be run to inspect the message body and perform the appropriate actions according to how the mailcap file setup (e.g. usually extract and attachment and launch some program to view it). Starting with emacs 21.x this command stopped working. When I run M-x metamail-interpret-body, or M-x metamail-buffer, I simply see the message text scrolling before me and nothing else happens. If I save a message in a separate file and run metamail on it, it works as expected, so it is possible that emacs is doing something odd. I replaced the metamail program with a shell script that saves the file that's passed to it with arguments somewhere so that emacs doesn't delete it when metamail returns. I looked at that file and I noticed that the header "Content-Type: MULTIPART/MIXED;" is missing in it. For some reason emacs removes it before running metamail. I am getting this when I run M-x metamail-buffer or M-x metamail-interpret-body. The absence of this header seems to confuse metamail. I simply see text scrolling and nothing else happening if I run metamail on that file from command line. Is this an emacs bug or is there something that I am doing wrong? Recent input: x m e t a r e p o r t - e m a c s - b u g Recent messages: (emacs) Loading tool-bar...done Loading image...done Loading tooltip...done For information about the GNU Project and its goals, type C-h C-p. Loading emacsbug...done