emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls]


From: Stefan Monnier
Subject: Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls]
Date: Mon, 03 Sep 2007 16:51:59 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> Stefan gets my idea right. It is definitely not about aliveness.
> Fine. So what is the heuristic to use to recognize something that "is likely
> to be meant as a URL"? Presence of a URL scheme (e.g. http://, ftp://)?

My point was only that the documentation for (thing-at-point 'url) should
make it clear that this does not try and determine *if* there is a URL.
For uses where we want to check that point is near a URL, we want some
other operation.
I don't know if this one exists and will let others invent it if needed.
So again: I don't think there's a need to change the behavior of
(thing-at-point 'url), but maybe there's a need to make its doc
more explicit.


        Stefan




reply via email to

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