From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Masanobu UMEDA Newsgroups: gmane.emacs.devel Subject: Re: Bug in metamail Date: Fri, 11 Oct 2002 00:01:15 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: <200210101501.AAA01028@latour.mse.kyutech.ac.jp> References: Reply-To: umerin@mse.kyutech.ac.jp NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP-2 X-Trace: main.gmane.org 1034262171 10241 127.0.0.1 (10 Oct 2002 15:02:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 15:02:51 +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 17zept-0002en-00 for ; Thu, 10 Oct 2002 17:02:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17zfeS-0003SB-00 for ; Thu, 10 Oct 2002 17:55:04 +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 17zeqC-00040I-00; Thu, 10 Oct 2002 11:03:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zepu-0003rz-00 for emacs-devel@gnu.org; Thu, 10 Oct 2002 11:02:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zepr-0003ov-00 for emacs-devel@gnu.org; Thu, 10 Oct 2002 11:02:49 -0400 Original-Received: from latour.mse.kyutech.ac.jp ([131.206.67.77]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zeoR-0002Ti-00; Thu, 10 Oct 2002 11:01:19 -0400 Original-Received: (from umerin@localhost) by latour.mse.kyutech.ac.jp (8.9.3+3.2W/3.7W) id AAA01028; Fri, 11 Oct 2002 00:01:15 +0900 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 10 Oct 2002 04:43:06 -0400) 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:8508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8508 From: Richard Stallman Reply-To: rms@gnu.org Date: Thu, 10 Oct 2002 04:43:06 -0400 Would you please fix this bug in metamail.el in the latest Emacs? (Are you still maintaining it?) >> 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. This is because rmail-ignored-headers includes MIME related headers, such as "Content-Type:". Simple user level solution is to put the following code in .emacs. It is much better to remove these headers from rmail-ignored-headers in the next release of emacs distribution. ;; Leave MIME related headers. (let ((headers '("\\|^mime-version:" "\\|^content-transfer-encoding:" "\\|^content-type:")) (case-fold-search t)) (while headers (if (string-match (regexp-quote (car headers)) rmail-ignored-headers) (setq rmail-ignored-headers (concat (substring rmail-ignored-headers 0 (match-beginning 0)) (substring rmail-ignored-headers (match-end 0))))) (setq headers (cdr headers))))