Gnus development mailing list
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@danann.net>
Subject: Re: strange highlightings
Date: 25 Apr 2000 21:54:00 +1000	[thread overview]
Message-ID: <877ldmtmzr.fsf@inanna.pangaean.net> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 25 Apr 2000 13:06:47 +0200"

On Tue, 25 Apr 2000, Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
wrote:

> Vladimir Volovich <vvv@vvv.vsu.ru> writes:
> 
>> well, the URL was guessed obviously wrong: the correct one is
>> 10.95.3.38 but not 95.3.38. And often the text which has nothing
>> close to URLs is highlighted and buttonized which seems like an
>> overkill (and a bit annoying :). is there a config option to restore
>> the previous behavior? 8-)
> 
> The question is, how to recognize text which is a URL and how to
> recognize text which _isn't_ a URL?
> 
> Gnus currently looks `foo.foo.foo' type strings, with three words and
> two dots.  And obviously, digits are allowed in the words
> (www2.frob.org might be a valid URL).  Well...
> 
> Have you got a suggestion on improving the rules used by Gnus?

Hrm. Real URL paths refer to a fully qualified machine name, with a
(somewhat) restricted set of designations following. Wouldn't matching
the 'com', 'net' or 'org' make sense?

Except, of course, that would result in a regexp that specified all of
the registered top level domains, which would be (ahem) not so small. I
don't know what effect that would have on the performance of the
matcher...

        Daniel

-- 
Love like you'll never get hurt.
You've got to dance like no one is watching,
It's gotta come from the heart, if you want it to work.
        -- Susannah Clark



  reply	other threads:[~2000-04-25 11:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-24 16:38 Vladimir Volovich
2000-04-24 18:47 ` Kai Großjohann
2000-04-24 19:40   ` Vladimir Volovich
2000-04-25 11:06     ` Kai Großjohann
2000-04-25 11:54       ` Daniel Pittman [this message]
2000-04-25 12:09       ` Vladimir Volovich
2000-04-25 13:36       ` Per Abrahamsen
2000-04-25 14:18         ` Kai Großjohann
2000-04-25 14:31           ` Per Abrahamsen
2000-04-25 19:24             ` Felix Lee
2000-04-25 20:16               ` Kai Großjohann
2000-04-27 18:30           ` wrapped URLs (was: strange highlightings) Jussi Yli-Urpo
2000-04-28 11:39             ` Bill White
2000-04-26 19:37     ` strange highlightings Karl EICHWALDER

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=877ldmtmzr.fsf@inanna.pangaean.net \
    --to=daniel@danann.net \
    /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).