From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59323 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: bug in message.el, message-forward-make-body-plain Date: Thu, 02 Dec 2004 17:25:15 +0900 Organization: Emacsen advocacy group Message-ID: References: <87y8ghyf39.fsf@orebokech.com> <87hdn5y970.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101976158 23634 80.91.229.6 (2 Dec 2004 08:29:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2004 08:29:18 +0000 (UTC) Original-X-From: ding-owner+M7863@lists.math.uh.edu Thu Dec 02 09:29:13 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZmKu-0000Wj-00 for ; Thu, 02 Dec 2004 09:29:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CZmHT-0006tD-00; Thu, 02 Dec 2004 02:25:39 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CZmHG-0006t4-00 for ding@lists.math.uh.edu; Thu, 02 Dec 2004 02:25:26 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CZmHC-0003dQ-Os for ding@lists.math.uh.edu; Thu, 02 Dec 2004 02:25:22 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 854E23A020D for ; Thu, 2 Dec 2004 02:25:22 -0600 (CST) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CZmHA-0005EZ-6U for ding@gnus.org; Thu, 02 Dec 2004 03:25:21 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:k9znHFT0CdF8fGYZIZjgI8e7qms= X-Hashcash: 1:20:041202:ding@gnus.org::NhbsX8Qnx2wPiC1S:000038wj X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59323 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59323 >>>>> In <87hdn5y970.fsf@orebokech.com> Romain Francoise wrote: > Katsumi, what do you think? I think your patch is the best solution. I've installed it. >>>>> In <87y8ghyf39.fsf@orebokech.com> Romain Francoise wrote: > 2003-10-29 Simon Josefsson > * message.el (message-forward-make-body-plain): Remove ignored > headers. Tiny patch from Andre Srinivasan . > (message-forward-make-body-plain): Fix ARG=1. > The test is weird: > (when (and (not current-prefix-arg) > message-forward-ignored-headers) > how can current-prefix-arg be nil since you call this function from C-u > C-c C-f? Its value is '(4) here... unless I'm missing something. It is likely if a user has set message-forward-as-mime as nil and uses the `C-c C-f' command. I guess that was the mere copy of an old code. In addition, I noticed there's also a problem similar to this when the `3 C-c C-f' command is used, and fixed it. Anyway, I'm thankful to Ted and Romain who gave me a good understanding. BTW, even for raw forwarding, isn't there a demand to remove some headers? For instance, a lot of Received headers will usually be unnecessary. Furthermore, if a header such as the following Xref: localhost trash:99999 is forwarded, the person who wrote the message may be offended. Of course, we can remove them manually, though.