Re: [Python-Dev] Mail archive line wrapping (Was: Import and unicode: part two)
On 11:59 AM, James Y Knight wrote: Well, yes, that's a pretty annoying bug in mailman, isn't it? If only anyone around here was involved in mailman and could fix it! :) [I've attempted to cc this to mailman-users with this message, but since I'm not subscribed I dunno if it'll make it or not.] I have this in my user CSS override file to fix the issue for myself globally on all such archives out in the world: /* Mailing list archives */ htmlbodypre { white-space: pre-wrap !important; } But really, pipermail should just output a suitable style itself, e.g.: pre style=hite-space: pre-wrap or a stylepre { white-space: pre-wrap; }/style in the header. This is mailman bug 266467 https://bugs.launchpad.net/mailman/+bug/266467. It was fixed in Mailman 2.1.13. -- Mark Sapiro msap...@value.net The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Mail archive line wrapping (Was: Import and unicode: part two)
On Jan 21, 2011, at 6:31 AM, Antoine Pitrou wrote: On Thu, 20 Jan 2011 22:25:17 -0500 James Y Knight f...@fuhm.net wrote: On Jan 20, 2011, at 3:55 PM, Antoine Pitrou wrote: (by the way, it would be nice if your text/mail editor wrapped lines at 80 characters or something) You could complain to Apple, but it seems unlikely that they'd change it. They broke it intentionally in OSX 10.6.2 for better compatibility with MS Outlook. (for the technically inclined: It still wraps lines at 80 characters in the raw message, but it uses quoted-printable encoding to escape the line-breaks, so mail readers which decode quoted-printable but can't flow text are now S.O.L. Apple used to use the nice format=flowed standard instead.) I think most mail readers are able to word-wrap raw text correctly (even though it still makes your messages look bad amongst a thread of nicely-formatted 80-column messages). The real annoyance is when reading Web archives of mailing-lists, e.g. http://twistedmatrix.com/pipermail/twisted-python/2011-January/023346.html Well, yes, that's a pretty annoying bug in mailman, isn't it? If only anyone around here was involved in mailman and could fix it! :) [I've attempted to cc this to mailman-users with this message, but since I'm not subscribed I dunno if it'll make it or not.] I have this in my user CSS override file to fix the issue for myself globally on all such archives out in the world: /* Mailing list archives */ htmlbodypre { white-space: pre-wrap !important; } But really, pipermail should just output a suitable style itself, e.g.: pre style=white-space: pre-wrap or a stylepre { white-space: pre-wrap; }/style in the header. That's supported on all browsers since FF3.0, IE8, Safari 3, Opera 8. There are various nonstandard CSS selectors for reaching older browsers (IE5.5+, Firefox pre-1.0+, Opera 4+)...But by the time this change gets made in mailman, and released, and gets into the distros that the various list hosts around the web use, and those hosts get upgraded, I doubt anyone will actually even be able to run those old browsers anymore. James ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Mail archive line wrapping (Was: Import and unicode: part two)
On Fri, 21 Jan 2011 08:23:31 -0500 James Y Knight f...@fuhm.net wrote: I think most mail readers are able to word-wrap raw text correctly (even though it still makes your messages look bad amongst a thread of nicely-formatted 80-column messages). The real annoyance is when reading Web archives of mailing-lists, e.g. http://twistedmatrix.com/pipermail/twisted-python/2011-January/023346.html Well, yes, that's a pretty annoying bug in mailman, isn't it? If only anyone around here was involved in mailman and could fix it! :) [I've attempted to cc this to mailman-users with this message, but since I'm not subscribed I dunno if it'll make it or not.] Why is this a bug in mailman? Mailman archives messages as they are sent (well, perhaps it mangles e-mail addresses, perhaps). If someone draws a nice ASCII-art diagram which requires 90 columns instead of 80, you wouldn't want the archive to break its rendering. So, it's really the mail client (or its user :-)) which should handle word-wrapping, not some downstream tool which has no idea of the original intent. I have this in my user CSS override file to fix the issue for myself globally on all such archives out in the world: /* Mailing list archives */ htmlbodypre { white-space: pre-wrap !important; } That doesn't wrap to 80 characters, does it? Only whatever the current window/container width is, which isn't necessarily the right thing (if that makes lines 160 characters long, it's still quite uncomfortable to read). Regards Antoine. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Mail archive line wrapping (Was: Import and unicode: part two)
On Jan 21, 2011, at 08:23 AM, James Y Knight wrote: Well, yes, that's a pretty annoying bug in mailman, isn't it? If only anyone around here was involved in mailman and could fix it! :) [I've attempted to cc this to mailman-users with this message, but since I'm not subscribed I dunno if it'll make it or not.] Technically, Pipermail, but jeebus how I hate hacking on that code. :) Although it's been futile for the last decade, maybe this time will work: volunteers wanted! -Barry signature.asc Description: PGP signature ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com