delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?") |
Date: | Fri, 9 Jul 2004 14:47:30 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <010301c465a8$147e0210$4e6510ac@ds.tao.co.uk> |
Message-ID: | <NUTMEGzGt4JrdBtcvSY000007aa@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 09 Jul 2004 13:47:30.0828 (UTC) FILETIME=[47A19CC0:01C465BB] |
Note-from-DJ: | This may be spam |
> -----Original Message----- > From: cygwin-owner On Behalf Of William Blunn > Sent: 09 July 2004 12:30 > > That's the whole point of PRE, that it *doesn't* wrap. > > I don't think that is the whole point of PRE. > > I think the whole point of PRE is that newlines and other > whitespace in > the HTML source are interpreted literally. The whole point of PRE is that whatever is wrapped in it is PREformatted and MUST NOT BE REFORMATTED. > It appears that the design committee took it a step too far > and decided > that newlines in the rendered version of PRE can ONLY appear > as a result > of newlines in the source. Well duh. Adding formatting chars counts as reformatting it. > This is counter to the normal behaviour nearly everywhere > else in which > text wraps when it hits the edge of the medium. No it doesn't. Different applications have different behaviours. Many have a choice of whether to wrap or not. And the non-wrapping behaviour is very intuitively obvious to people, because that's how written words on paper behave. If I reduce the width of a page by tearing it in half, the text doesn't reflow, I just lose half the text off the side. That's what I'm used to and that's what I'd call perfectly normal behaviour. > If the "pre-formatted" text is too wide to fit the medium, then > *something* has got to give somewhere. No, you either truncate or scroll it. What you DON'T do is reformat the stuff that is specifically tagged with "do not under any circumstances reformat" > There has got to be *some* behaviour. Yes, but it doesn't *have* to violate the PRE tag. You just wish it did because your argument stands or falls on this false dilemma of the excluded middle. > Wrapping is a well-established and convenient way of doing this. No matter how hard you wish, wrapping text always has and always will count as reformatting it. Your complaint appears to be that you believe the PRE tag ought to have been defined as a meaningless no-op. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |