emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.0; (thing-at-point 'url) returns invalid urls


From: Davis Herring
Subject: Re: 23.0.0; (thing-at-point 'url) returns invalid urls
Date: Wed, 29 Aug 2007 14:25:36 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-6.el3.2lanl

>> ... unless the word is www.google.com or savannah.gnu.org.  So to me the
>> behavior looks good.  I think it's much better to return an URL that may
>> not exist than always returning nil if the URL lacks the protocol spec.
>
> but those examples are easy to parse as they have '.' in them i.e. we
> can improve thing-at-point.

Not really.  I'm able to resolve addresses for "localhost" and "hk" (the
gTLD for Hong Kong), as well as a variety of names that are meaningful
only on this network.  If I ask Emacs to interpret any of those names as a
URL, it would be silly of it to reject them and not "fsf.org"!

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]