From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30337 Path: main.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.emacs.gnus.general Subject: Re: strange highlightings Date: 25 Apr 2000 21:54:00 +1000 Organization: Not today, thank you, Mother. Sender: owner-ding@hpc.uh.edu Message-ID: <877ldmtmzr.fsf@inanna.pangaean.net> References: <200004241847.UAA27066@lucy.cs.uni-dortmund.de> <200004251106.NAA28153@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035166889 7916 80.91.224.250 (21 Oct 2002 02:21:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:21:29 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id EDF6FD051E for ; Tue, 25 Apr 2000 07:56:10 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAB19542; Tue, 25 Apr 2000 06:54:34 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Apr 2000 06:54:01 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id GAA01945 for ; Tue, 25 Apr 2000 06:53:51 -0500 (CDT) Original-Received: from inanna.danann.net (unknown [203.43.183.66]) by mailhost.sclp.com (Postfix) with ESMTP id EFEC1D051E for ; Tue, 25 Apr 2000 07:54:06 -0400 (EDT) Original-Received: by inanna.danann.net (Postfix, from userid 1000) id E89D92807E; Tue, 25 Apr 2000 21:54:00 +1000 (EST) Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 25 Apr 2000 13:06:47 +0200" X-Homepage: http://danann.net/ X-spies: strategic Kibo Cocaine ECHELON Vince Foster [Hello to all my fans in domestic surveillance] plutonium FSF explosion Serbian terrorist counter-intelligence PLO radar Ft. Meade Original-Lines: 36 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2 (Kastor & Polydeukes) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30337 On Tue, 25 Apr 2000, Kai Gro=DFjohann wrote: > Vladimir Volovich writes: >=20 >> 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-) >=20 > The question is, how to recognize text which is a URL and how to > recognize text which _isn't_ a URL? >=20 > 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... >=20 > 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 --=20 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