From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61416 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] workaround non ascii chars in rfc2231 Date: Thu, 24 Nov 2005 21:13:28 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132865577 9011 80.91.229.2 (24 Nov 2005 20:52:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2005 20:52:57 +0000 (UTC) Original-X-From: ding-owner+m9948@lists.math.uh.edu Thu Nov 24 21:52:53 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EfO4l-0002Th-9n for ding-account@gmane.org; Thu, 24 Nov 2005 21:52:15 +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 1EfO4c-0006ng-00; Thu, 24 Nov 2005 14:52:06 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EfO0D-0006nb-00 for ding@lists.math.uh.edu; Thu, 24 Nov 2005 14:47:33 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EfO08-00051g-To for ding@lists.math.uh.edu; Thu, 24 Nov 2005 14:47:33 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EfO02-0007Gi-00 for ; Thu, 24 Nov 2005 21:47:23 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id jAOKlLCw008379; Thu, 24 Nov 2005 21:47:21 +0100 (MET) Original-Received: from me (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id E6EDB10A76; Thu, 24 Nov 2005 21:47:20 +0100 (CET) Original-Received: (nullmailer pid 8339 invoked by uid 170); Thu, 24 Nov 2005 20:13:28 -0000 Original-To: Pixel , Mail-Followup-To: Pixel , X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ In-Reply-To: (Katsumi Yamaoka's message of "Thu, 24 Nov 2005 13:26:05 +0900") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC--Metrics: gemini 1074; Body=2 Fuz1=2 Fuz2=2 X-MIME-Autoconverted: from 8bit to quoted-printable by mail.uni-ulm.de id jAOKlLCw008379 X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61416 Archived-At: On Thu, Nov 24 2005, Katsumi Yamaoka wrote: >>>>>> In Pixel wrote: > >> i've received a mail having: >> "Content-Disposition: attachment; filename=3Df=EAtesxxxxxx.pdf", >> and so that part was considered text/plain. > >> with the following patch, it works. It's quite simple: since >> forward-sexp stop at first 8-bit char, i simply retry. > > Confirmed. I've applied your patch to the trunk and the v5-10 > branch. Thanks. We should have a real name instead of "Pixel" in the ChangeLog (even if it a tiny patch): ,---- | +2005-11-24 Pixel (tiny change) | + | + * rfc2231.el (rfc2231-parse-string): Support non-ascii chars. | + `---- > I don't know, but I'm reluctant to support such broken mails > further. If it is incorrect, we should probably add a more appropriate comment instead of "EXTENSION: Support non-ascii chars.". Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/