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: Thien-Thi Nguyen
Subject: Re: 23.0.0; (thing-at-point 'url) returns invalid urls
Date: Thu, 30 Aug 2007 02:33:24 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Leo <address@hidden>
() Wed, 29 Aug 2007 23:42:24 +0100

   Emacs pick the word under point and add "http://"; to it to form a valid
   i.e. there is a change from invalid to valid that is not...

how about adding a variable: `thing-at-point-url-autoprefix-p'.
if nil, consider the case w/o "http://"; to be invalid, so
that (thing-at-point 'url) => nil.  if t, do what it does now,
which is (from thingatpt.el 1.43 from cvs) to heuristically
add one of either "ftp://"; or "http://";.

thi




reply via email to

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