From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31250 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: word-encoder creates short lines; possible bug in encoder Date: 01 Jun 2000 13:54:41 +0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167686 12966 80.91.224.250 (21 Oct 2002 02:34:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:34:46 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 29CE8D051E for ; Thu, 1 Jun 2000 06:00:05 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id EAC14837; Thu, 1 Jun 2000 04:59:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 01 Jun 2000 04:59:15 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id EAA23147 for ; Thu, 1 Jun 2000 04:59:01 -0500 (CDT) Original-Received: from vsu.ru (info.vsu.ru [62.76.169.9]) by mailhost.sclp.com (Postfix) with ESMTP id B01BFD051E for ; Thu, 1 Jun 2000 05:56:06 -0400 (EDT) Original-Received: from video.uic.vsu.ru ([62.76.169.38] verified) by vsu.ru (CommuniGate Pro SMTP 3.3b5) with ESMTP id 1540716 for ding@gnus.org; Thu, 01 Jun 2000 13:53:28 +0400 Original-To: ding@gnus.org Original-Lines: 30 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31250 Hi! 1. when gnus uses encoded-word encoding (of type B or Q) in headers, it tends to create more short lines than necessary. Say, i received a message with subject: Subject: =?koi8-r?B?Iu7P18HRINDB0sHEycfNwSDEzNEg09TB0s/KINTFz9LJySI=?= when replying to this message, gnus created a subject like: Subject: Re: "=?koi8-r?b?7s/XwdEg0MHSwcTJx83B?= =?koi8-r?b?IMTM0SDT1MHSz8og1MXP?= =?koi8-r?b?0snJ?=" it seems that gnus used AT LEAST one extra line, creating short lines in headers. Is it possible to change the function which encodes headers to use optimal line number (i.e. try to use the smallest possible number of lines, breaking only really wide lines)? 2. AFAIR, RFC says that encoded-word should not appear inside quotes. is the above header (created by gnus) correct in this respect? i mean "=?koi8-r?b? .... ?=" should the quotes be "hidden" inside encoded-word? 3. maybe, gnus should switch to SEMI library (SEMI is Emacs MIME Interfaces) which provides basic fubctions e.b. for word-encoding, etc. Because AFAIK SEMI is very strict WRT RFC-compliance. Best, v.