Messages in this thread | | | Date | Wed, 18 Apr 2001 09:20:26 -0400 | From | "Eric S. Raymond" <> | Subject | Re: Supplying missing entries for Configure.help, part 3 |
| |
Peter Kjellerstedt <peter.kjellerstedt@axis.com>: > Would it not be better to teach your URL extractor (as I guess that > is the reason for this patch) what a URL followed by a period and a > space looks like. Even though they are legal URLs, I think we can > safely assume the writer intended the period to end the sentence and > not be part of the URL. The same goes for URLs followed by other > characters like comma, colon and so on.
Of course it would be. But I'm not yet sure it's practical; CML2's tokenizing is actually being done by the Tk text widget and I have yet to discover whether it can be told to discard the trailing period.
Note however that I didn't introduce these spaces for CML2 but to conform a few exceptions to practice in the CML1 file. My own choice would be to wrap URLs and relative filenames in <> and treat those as delimeters, but I didn't want to change the existing convention (yet). -- <a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>
There's a truism that the road to Hell is often paved with good intentions. The corollary is that evil is best known not by its motives but by its *methods*. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |