From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54318 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: iso-8859-2 characters are broken in forwarded messages. Date: Sat, 18 Oct 2003 03:10:51 +0200 Organization: Programmerer Ingebrigtsen Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066439578 5925 80.91.224.253 (18 Oct 2003 01:12:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2003 01:12:58 +0000 (UTC) Original-X-From: ding-owner+M2859@lists.math.uh.edu Sat Oct 18 03:12:57 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAfeK-0000KP-00 for ; Sat, 18 Oct 2003 03:12:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AAfd6-0003ne-00; Fri, 17 Oct 2003 20:11:40 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AAfcz-0003nV-00 for ding@lists.math.uh.edu; Fri, 17 Oct 2003 20:11:33 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id BFA7F3A00C4 for ; Fri, 17 Oct 2003 20:11:32 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AAfcy-0002Rh-00 for ; Sat, 18 Oct 2003 03:11:32 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 36 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1066439492 9397 80.91.231.2 (18 Oct 2003 01:11:32 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 18 Oct 2003 01:11:32 +0000 (UTC) Mail-Copies-To: never X-Now-Playing: Nobukazu Takemura's _Child and Magic_: "Mirrors in Mirror" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXhbRDdLgXvmS3mTgaX IQzJIQvhUYshAAACWUlEQVR4nE2TwXLrIAxFFYj3oTZ7StI9tsz+dYr3prb+/1feFXaS4hkY6yDp IgTF1zBtIoqRSin0Gikkniw7Ju6dG97AHH5fv22Z34BatK8Ney2TAhMOjzZfbzNZy6MCm8IzVqCr 7NhxAKh45jBkyxIDM/8NFdsOa2KwB1j2Z+7Dlaew9DMZU4qJp9pT30N+5mahaP94QNq+Adh1N9Gl +ATIeCkQHYOGurRIsEVISbynazvvWQ0AdYpkMwDZ6a4JTAukTpCS06x1YUhkMpYtmXtvKfDOryLm tWU2ocsovH0BK2s8CkD/DsUn6NbDQ7XcdZ11L1bf5oOg6gmhcvKJWeTG73FdcbXZdDiqyMeZTMFc xoG6lGPs4HGGgj2XAo9OtkD5DfSqSlG53HI/kzN76C11OE4lDdhnH4V5GY72OMHeN1HzoygoSwOV eZQGRteXMtBQvtkCCEzDt9Mh8kDvlv3nAInoVrZePRwuj+z4gxiahPNeysYMn2kvlPA1D5i+c1la +o9HoZZOfG1J2JeWBbEAErHkukGwlqPHC6kuKphQXI9P2l4vpgT5vRKnaXRSFVS1V8HJIRidGu+M 3+0AeGSJLovsNIYYL77qJ72efMDLVMC4ZcgaJXeyqOypgUIfaLVPh0gVipVM2PkJjx7t6m9Svfeu 7ksVdHIoAGjN9TL6Lddand8FZTly9BlvWLXK6CsKK55kXXYk90F8j/4Zt1FwvF3gIaqKqfYJ7YCe dn503puy1Ip3mXRo09s2sUvUbe3O1Y659Qil/kb22trHNvvZU5S2TAlg+A/FHJuSGhKVGwAAAABJ RU5ErkJggg== User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Fmz90zMHwxXIdGCglgC4QXpo8l4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54318 Simon Josefsson writes: > Try the MIME->MML conversion and re-search for '<#part > type=multipart/(signed|encrypted)' and fall back to raw MIME found? Yes... > I think it should be `message-forward-show-mml' instead of m-f-a-m. Yup. > The function look somewhat convoluted, I can't think of a minimal > patch that solves the problem. I think the best would be to split up > the code into message-forward-make-body-digest, > message-forward-make-body-mime, message-forward-make-body-mml and > message-forward-make-body-plain and make the top-level > message-forward-make-body contain some logic and then call one of the > real functions. I think that sounds like a much cleaner solution; yes. > And can't we remove the following as well? I think it would be nice > to get rid of all of these. IMHO, they should only be used in the > (very few) places where it is actually required. > > (goto-char (point-min)) > (when (looking-at "From ") > (replace-match "X-From-Line: ")) > (goto-char (point-max))))) They are there to protect against confused MTAs and mail readers, I guess... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen