From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45858 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Non-MML forwarding strips Content-Transfer-Encoding Date: Sat, 27 Jul 2002 18:35:58 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027788100 6950 127.0.0.1 (27 Jul 2002 16:41:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 27 Jul 2002 16:41:40 +0000 (UTC) Cc: hniksic@redhat.com Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17YUdO-0001nz-00 for ; Sat, 27 Jul 2002 18:41:38 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17YUYj-0006QG-00; Sat, 27 Jul 2002 11:36:49 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 27 Jul 2002 11:37:14 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA01069 for ; Sat, 27 Jul 2002 11:36:58 -0500 (CDT) Original-Received: (qmail 18727 invoked by alias); 27 Jul 2002 16:36:23 -0000 Original-Received: (qmail 18722 invoked from network); 27 Jul 2002 16:36:23 -0000 Original-Received: from h-213.61.75.77.host.de.colt.net (HELO florida.munich.redhat.com) (213.61.75.77) by gnus.org with SMTP; 27 Jul 2002 16:36:23 -0000 Original-Received: from hniksic by florida.munich.redhat.com with local (Exim 3.35 #1 (Debian)) id 17YUXu-0003zp-00; Sat, 27 Jul 2002 18:35:58 +0200 Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h (Simon Josefsson's message of "Fri, 26 Jul 2002 20:10:02 +0200") Original-Lines: 44 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45858 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45858 Simon Josefsson writes: >> Obviously, stripping Content-Transfer-Encoding is wrong. The >> resulting message is corrupted because its body will be interpreted >> to contain 7bit data. It is also wrong in principle -- when >> `message-forward-show-mml' is unset, I expect little or no >> tinkering with the embedded message. Gnus should just make sure it >> is correctly embedded as a part, and the rest will follow from >> that. > > Yup. Removing it is Right when message-forward-show-mml is non-nil, > the default, though. So it is probably only a matter of not testing > that combination. That's what I assumed as well. > This should fix that particular problem. > > --- message.el.~6.240.~ 2002-06-29 16:38:03.000000000 +0200 > +++ message.el 2002-07-26 19:07:45.000000000 +0200 > @@ -5190,7 +5190,9 @@ > (or (search-forward "\n\n" nil t) (point))) > (delete-region (point-min) (point-max))) > (when (and (not current-prefix-arg) > - message-forward-ignored-headers) > + message-forward-ignored-headers > + ;; don't remove CTE, X-Gnus etc when doing "raw" forward: > + message-forward-show-mml) > (save-restriction > (narrow-to-region b e) > (goto-char b) Thanks. It works for me now. I assume the patch has been applied to CVS? > If this isn't sufficient for you, I'm not sure what to do except > debugging every step of sending the mail to track what is happening. No, this is perfectly fine. The only testing you need is to set message-forward-show-mml to nil, press `S o m', and take a look at whether the included attachment still includes `Content-Transfer-Encoding'. Thanks for helping with this.