Re: MHonArc mail archive line wrapping
Marc Petit-Huguenin <petithug@acm.org> Tue, 15 February 2011 23:22 UTC
Return-Path: <petithug@acm.org>
X-Original-To: ietf@core3.amsl.com
Delivered-To: ietf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9E56B3A6C4E for <ietf@core3.amsl.com>; Tue, 15 Feb 2011 15:22:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.705
X-Spam-Level:
X-Spam-Status: No, score=-101.705 tagged_above=-999 required=5 tests=[AWL=-0.040, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_46=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sLmCUrix-OH4 for <ietf@core3.amsl.com>; Tue, 15 Feb 2011 15:22:09 -0800 (PST)
Received: from server.implementers.org (server.implementers.org [69.55.225.91]) by core3.amsl.com (Postfix) with ESMTP id 9B27B3A6C31 for <ietf@ietf.org>; Tue, 15 Feb 2011 15:22:09 -0800 (PST)
Received: by server.implementers.org (Postfix, from userid 1001) id 51F65EBC4024; Tue, 15 Feb 2011 23:22:35 +0000 (UTC)
Received: from [192.168.2.3] (server.implementers.org [127.0.0.1]) by server.implementers.org (Postfix) with ESMTPA id 4A8BEEBC4024; Tue, 15 Feb 2011 23:22:33 +0000 (UTC)
Message-ID: <4D5B0AB8.90509@acm.org>
Date: Tue, 15 Feb 2011 15:22:32 -0800
From: Marc Petit-Huguenin <petithug@acm.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11
MIME-Version: 1.0
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: MHonArc mail archive line wrapping
References: <BF1B4928-ABEE-4EC0-9BE5-DDD3C6FAB9C3@apple.com> <2vqll6ts0l0hjuic0t3p60sp679nh87920@hive.bjoern.hoehrmann.de>
In-Reply-To: <2vqll6ts0l0hjuic0t3p60sp679nh87920@hive.bjoern.hoehrmann.de>
X-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: Stuart Cheshire <cheshire@apple.com>, IETF-Discussion list <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Feb 2011 23:22:10 -0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/15/2011 01:32 PM, Bjoern Hoehrmann wrote: > * Stuart Cheshire wrote: >> In the MHonArc mail archive there are often super-long lines, which >> would be wrapped to the window width when viewing in most mail >> clients, but when viewed in a web browser they appear as long single >> lines which take a lot of left-to-right scrolling to read them. > > That is the result of some clients and users violating netiquette and > mail standards, for instance, RFC 1855, section 2.1.1: > > - Limit line length to fewer than 65 characters and end a line > with a carriage return. > > and RFC 2822 (and similarily RFC 5322), section 2.1.1: > > There are two limits that this standard places on the number of > characters in a line. Each line of characters MUST be no more than > 998 characters, and SHOULD be no more than 78 characters, excluding > the CRLF. > > And this does not cause problems just with unwrapped lines, it also has > other effects, like people quoting excessively long lines on one line > but then write their own text properly wrapped (that's appropriate be- > havior if long lines are rare and most likely intentional, such as when > including some computer code you don't want wrapped at odd positions.) > > I note that one of the main culprits here are Apple Mail users, although > you seem to be using it yet have managed to send properly wrapped lines. > If there is something Apple Mail users can do to stop their netiquette > and standards violations, I would apprciate any pointer you may have. > > Obviously the solution is to have those using broken or misconfigured > clients use clients that are not broken or configure them correctly. > > As for the list archives, you can make the lines wrap by changing the > style sheet (or use an appropriate user style sheet), for instance, > > pre { white-space: pre-wrap; } > > should probably do it in modern clients (for older clients there is > option to use proprietary extensions in some browsers, but that may > not be necessary these days.) This would seem preferable over forcing > line wraps in the archival software as that would break lines that are > meant to be long for very good reasons. And for people who do no want to wait for Central Services to fix the problem, here's a Greasemonkey script: // ==UserScript== // @name Fix wrap // @namespace http://shalmaneser.org/fix-wrap // @include http://www.ietf.org/mail-archive/* // ==/UserScript== var pres = document.getElementsByTagName('pre'); for (var i = pres.length - 1; i >= 0; i--) { pres[i].style.whiteSpace = 'pre-wrap'; } - -- Marc Petit-Huguenin Personal email: marc@petit-huguenin.org Professional email: petithug@acm.org Blog: http://blog.marc.petit-huguenin.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1bCrYACgkQ9RoMZyVa61eERgCgotrFrcN+qQsWLNSD7VNt7p6u ggUAoI690tgUNDdGX+zur2d8W0xJhk3E =AGIZ -----END PGP SIGNATURE-----
- MHonArc mail archive line wrapping Stuart Cheshire
- Re: MHonArc mail archive line wrapping Lixia Zhang
- Re: MHonArc mail archive line wrapping RJ Atkinson
- Re: MHonArc mail archive line wrapping Bjoern Hoehrmann
- Re: MHonArc mail archive line wrapping Marc Petit-Huguenin
- Re: MHonArc mail archive line wrapping t.petch
- Re: MHonArc mail archive line wrapping Stuart Cheshire
- Re: MHonArc mail archive line wrapping Masataka Ohta
- Re: MHonArc mail archive line wrapping Randy Presuhn
- Re: MHonArc mail archive line wrapping Cyrus Daboo
- Re: MHonArc mail archive line wrapping Sabahattin Gucukoglu
- Re: MHonArc mail archive line wrapping Carsten Bormann
- Re: MHonArc mail archive line wrapping Doug Barton
- Re: MHonArc mail archive line wrapping Bjoern Hoehrmann
- Re: MHonArc mail archive line wrapping Phillip Hallam-Baker