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

Re: w3m-url-fallback-base



On 2017-07-19 14:43, Katsumi Yamaoka wrote:
> In [emacs-w3m : No.12757]
> On Wed, 19 Jul 2017 00:06:11 +0900, TSUCHIYA-san wrote:
> > In other words, if the context gives another appropriate default
> > value, the context sholud set the default value to
> > `w3m-current-base-url' or `w3m-url-fallback-base', in my opinion.
>
> 100% agreeed.  The cases where `w3m-expand-url' is called with no
> `BASE' argument are not so many; it would be a great work if one
> could specify it in each case (and remove `w3m-url-fallback-base'
> eventually).  Anyway I will leave it as it is until someone comes
> with a better solution.

If I'm correctly following the discussion, would what you are looking
for be function `thing-at-point'. Feature `thingatpt.el' includes
support for URI/URL, including what seems to be an exhaustive list of
valid schemes, at `thing-at-point-uri-schemes'.


-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0