Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-article-unsplit-urls
@ 2002-01-04 14:58 Michael Cook
  2002-01-04 15:31 ` gnus-article-unsplit-urls Simon Josefsson
  2002-02-08 14:19 ` gnus-article-unsplit-urls Michael Cook
  0 siblings, 2 replies; 16+ messages in thread
From: Michael Cook @ 2002-01-04 14:58 UTC (permalink / raw)


here's an idea for a `W' command maybe someone would be inclined to
implement.

for certain mail user agents (like ms outlook), if the user types a
long url into a message they are composing, as the agent sends the
message, the agent will graciously insert a newline into the url
rendering the url unclickable by the recipients.  i'm sure you've
all seen messages containing text like this:

bla bla bla at
http://foo.bar.com/baz/some/really/long/path/la/dee/da/dum/dee/ind
ex.html and bla bla bla.

(noting the newline between "ind" and "ex" in this case).

i think this url splitting would be reasonably easy to detect
automatically reliably because the agents seem to leave the
beginning of the url alone on a line (with no leading or trailing
whitespace), and the end of the url is at the beginning of the next
line (with no leading whitespace).  in other words, the W command
might be basically this:

 s%^((https?|ftp)://\S+)\n(\S+)%$1$3%g;

any takers?

m.



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-02-08 14:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-04 14:58 gnus-article-unsplit-urls Michael Cook
2002-01-04 15:31 ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 15:38   ` gnus-article-unsplit-urls Michael Cook
2002-01-04 15:48     ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 16:37       ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:27         ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 17:42           ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 18:06             ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 15:44   ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 16:38     ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:08       ` gnus-article-unsplit-urls Michael Cook
2002-01-04 17:12         ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:33       ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 17:42         ` gnus-article-unsplit-urls Michael Cook
2002-02-08 14:19 ` gnus-article-unsplit-urls Michael Cook
2002-02-08 14:33   ` gnus-article-unsplit-urls ShengHuo ZHU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).