From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Bug in metamail Date: Thu, 10 Oct 2002 04:43:06 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034239539 6659 127.0.0.1 (10 Oct 2002 08:45:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 08:45:39 +0000 (UTC) Cc: akopps@Math.Berkeley.EDU, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zYwo-0001iw-00 for ; Thu, 10 Oct 2002 10:45:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17zZlG-0002tl-00 for ; Thu, 10 Oct 2002 11:37:42 +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 17zYvQ-00024l-00; Thu, 10 Oct 2002 04:44:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zYuT-0001nl-00 for emacs-devel@gnu.org; Thu, 10 Oct 2002 04:43:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zYuR-0001nP-00 for emacs-devel@gnu.org; Thu, 10 Oct 2002 04:43:08 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zYuR-0001n7-00 for emacs-devel@gnu.org; Thu, 10 Oct 2002 04:43:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17zYuQ-0005Vh-00; Thu, 10 Oct 2002 04:43:06 -0400 Original-To: umerin@mse.kyutech.ac.jp Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8499 Would you please fix this bug in metamail.el in the latest Emacs? (Are you still maintaining it?) Envelope-to: rms@gnu.org Delivery-date: Mon, 07 Oct 2002 22:27:11 -0400 From: Akop Pogosian To: bug-gnu-emacs@gnu.org Subject: metamail commands don't work Sender: bug-gnu-emacs-admin@gnu.org Date: Mon, 7 Oct 2002 19:26:10 -0700 (PDT) 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 _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs