From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Akop Pogosian Newsgroups: gmane.emacs.help Subject: Emacs 21.2.1, rmail, and metamail Date: Sat, 5 Oct 2002 01:56:39 +0000 (UTC) Organization: University of California, Berkeley Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033783652 18929 127.0.0.1 (5 Oct 2002 02:07:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 02:07:32 +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 17xeLr-0004vA-00 for ; Sat, 05 Oct 2002 04:07:31 +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 17xeGB-0003Vt-00; Fri, 04 Oct 2002 22:01:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: zig.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1033782999 44234 169.229.58.39 (5 Oct 2002 01:56:39 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Sat, 5 Oct 2002 01:56:39 +0000 (UTC) User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.6 (sun4u)) Original-Xref: shelby.stanford.edu comp.emacs:75062 gnu.emacs.help:105731 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2277 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2277 Hello. I'd like to ask this question on the newsgroups to make sure I am not doing anything wrong before I submit a bug report. In the old version of emacs (20.x), 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? -- Akop Pogosian This space has been accidentally left blank.