From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60051 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Bad Subject folding (rfc2047) in 5.10.7 (was: Wrapping header fields) Date: Thu, 24 Mar 2005 20:28:35 +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 1111692827 23368 80.91.229.2 (24 Mar 2005 19:33:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2005 19:33:47 +0000 (UTC) Cc: Anders Wegge Jakobsen Original-X-From: ding-owner+M8592@lists.math.uh.edu Thu Mar 24 20:33:47 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEY53-0007cK-0A for ding-account@gmane.org; Thu, 24 Mar 2005 20:33:21 +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 1DEY0j-0005WZ-00; Thu, 24 Mar 2005 13:28:53 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DEY0b-0005WT-00 for ding@lists.math.uh.edu; Thu, 24 Mar 2005 13:28:45 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DEY0Z-000263-4s for ding@lists.math.uh.edu; Thu, 24 Mar 2005 13:28:43 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DEY0X-0003Sz-00 for ; Thu, 24 Mar 2005 20:28:41 +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.3/8.13.3) with ESMTP id j2OJSZMF019500; Thu, 24 Mar 2005 20:28:35 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 65C1310135; Thu, 24 Mar 2005 20:28:35 +0100 (CET) Mail-Followup-To: Ding List Original-To: Ding List 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: (Anders Wegge Jakobsen's message of "23 Mar 2005 21:10:27 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DCC-Servercave-Metrics: gemini 1183; Body=2 Fuz1=2 Fuz2=2 X-MIME-Autoconverted: from 8bit to quoted-printable by mail.uni-ulm.de id j2OJSZMF019500 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8592@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: news.gmane.org gmane.emacs.gnus.general:60051 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60051 [ Taking this from gnu.emacs.gnus to the ding list. ] On Wed, Mar 23 2005, Anders Wegge Jakobsen wrote: > I've discovered that sometimes the Subject: line in the header of > outgoing messages are wrapped at an odd position, like this: > > Subject:=20 > Re: Forsvarsminister sv=E6rt bev=E6bnet i Afghanistan > > Probably because the subject is encoded: > > =3D?iso-8859-1?q?Re:_Forsvarsminister_sv=3DE6rt_bev=3DE6bnet_i_Afghanist= an? =3D > > I'm not sure if that is legal or not, but as it has the effect that I > can't see my own postings, I suspect that the same is true for others > as well. So, what can I do about this? > > Gnus v5.9.0 IIRC it is legal, but not good practice. In the current development version, we get: --8<---------------cut here---------------start------------->8--- ELISP> (and (require 'gnus) (require 'rfc2047) gnus-version) "No Gnus v0.3" ELISP> (with-temp-buffer (insert "Subject: Re: Forsvarsminister sv=E6rt bev=E6bnet i Afghanistan") (rfc2047-encode-region (point-min) (point-max)) (buffer-string)) "Subject: Re: Forsvarsminister =3D?iso-8859-1?Q?sv=3DE6rt_bev=3DE6bnet?=3D = i\n Afghanistan" --8<---------------cut here---------------end--------------->8--- This is good. But with the stable version (5.10.7 or from Emacs CVS), we get folding directly after "Re: ": --8<---------------cut here---------------start------------->8--- ELISP> (and (require 'gnus) (require 'rfc2047) gnus-version) "Gnus v5.11" ELISP> (with-temp-buffer (insert "Subject: Re: Forsvarsminister sv=E6rt bev=E6bnet i Afghanistan") (rfc2047-encode-region (point-min) (point-max)) (buffer-string)) "Subject: Re:\n =3D?iso-8859-1?q?Forsvarsminister_sv=3DE6rt_bev=3DE6bnet_i_= Afghanistan?=3D" --8<---------------cut here---------------end--------------->8--- We already considered to sync `rfc2047.el' in the stable branch with the trunk version. I hope Katsumi Yamaoka will find to do it, see . Bye, Reiner. --=20 ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/