[emacs-w3m:13796] Re: [emacs-w3m/emacs-w3m] What does 'no such anchor' means and how-to sort it out? (#97)

Boruch Baum <[email protected]> Tue, 13 Jul 2021 18:32:21 -0700
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/issues/97/[email protected]>
On 2021-07-13 16:22, yamaoka wrote:
>    Emanuel Berg responded in the emacs-w3m mailing list as follows:
>
>    touxstone wrote:
>
>      No such anchor: result?query=inquired&lang=en&f=concordance
>      (add-to-list 'w3m-search-engine-alist
>      '("skell"
>      "[1]https://skell.sketchengine.eu/#result?query=%s&lang=en&f=concord
>      ance"))
>
>    It is the hash (#) that's the problem - try replace it with
>    &#35; or quote it some other way?

If that does turn out to be the problem, then it would amount to a bug
in the ability of w3m and emacs-w3m to parse a legitimate URI.

Before I posted my original response, I peeked at the wikipedia summary
of the URI specification, and it seems to allow a blank *PATH* element,
and the '#' is a standard delimiter between *PATH* and *ANCHOR* elements
that never otherwise needs to be escaped.

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


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/issues/97#issuecomment-879512620