From: Michael Cook <michael.cook@cisco.com>
Subject: gnus-article-unsplit-urls
Date: Fri, 04 Jan 2002 09:58:54 -0500 [thread overview]
Message-ID: <g081yh65fip.fsf@zzz.cisco.com> (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.
next reply other threads:[~2002-01-04 14:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-04 14:58 Michael Cook [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=g081yh65fip.fsf@zzz.cisco.com \
--to=michael.cook@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).