[Top][All Lists]
[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: |
Fri, 31 Aug 2007 10:42:03 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>> Would someone please DTRT and ack?
> There's no problem here and nothing to do. The URLs returned are
> perfectly valid. See the discussion that followed the original email.
Maybe the docstring (and or behavior) should be adjusted to make the
distinction clear between "assuming there's a URL at point, return it" and
"check if there's a URL at point, and if there is, return it".
This is often a somewhat subtle but important difference. When the user
does M-x browse-url RET, it makes perfect sense to place as default in the
minibuffer the best URL we could come up with, even if it doesn't look very
likely to a good one.
OTOH if we create a command which can do two different thing depending on
whether there's a URL at point, we would want to be much more stringent on
what we consider as an acceptable "URL at point".
Stefan
- address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Richard Stallman, 2007/08/30
- Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Glenn Morris, 2007/08/31
- Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls],
Stefan Monnier <=
- RE: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Drew Adams, 2007/08/31
- Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Stefan Monnier, 2007/08/31
- RE: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Drew Adams, 2007/08/31
- Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Thien-Thi Nguyen, 2007/08/31
- RE: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Drew Adams, 2007/08/31
- Re: address@hidden: 23.0.0; (thing-at-point 'url) returns invalid urls], Leo, 2007/08/31