[emacs-w3m:13793] 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 12:57:02 -0700
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/issues/97/[email protected]>
On 2021-07-13 11:50, touxstone wrote:
> ...
> No such anchor: result?query=inquired&lang=en&f=concordance
> ...
> (add-to-list 'w3m-search-engine-alist
>              '("skell" "https://skell.sketchengine.eu/#result?query=%s&lang=en&f
> =concordance"))

My availability looks to be limited this week, so I can't be relied upon
to research this further this week.

For me, using the URL with w3m (outside of emacs) produces a
non-response with no error exit code. Using only the base part of the
URL path produces what looks like a version number.

Using firefox, the website seems to require javascript for all its
functionality, so if there is a bug, fixing the bug won't help
@touxstone perform the search because both w3m and emacs-w3m reject the
notion of javascript support (a major reason why I use those two
programs).

So it seems to me that there is no bug here. Presuming emacs-w3m
processes the request properly, the resulting HTML is an empty page due
to lack of JS support. emacs-w3m then correctly looks for the anchor
'result' and correctly does not find it, and correctly reports this.

You can try this out for any non-JS URL, and see the same behavior. For
example:

   http://emacs-w3m.namazu.org/#result

--
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-879360209