X-Debbugs-Cc: yama...@jpl.org
Package: w3m-el-snapshot
Version: 1.4.632+0.20200702.0409.dca01f9-1

$ w3m https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968589#36
Works fine. But
$ emacs -q -f w3m
for it, gives
No such anchor: 36

Despite
$ mech-dump --links https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968589 | 
grep \#36
#36
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968589#36
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968589#36

However, this fragment works fine:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#Linking_to_an_element_on_the_same_page

So maybe the problem is emacs-w3m is expecting an older standard of
anchors that didn't allow a number as first character.
So maybe emacs-w3m needs #[a-z]36 instead of #36 in order for it to match.

Reply via email to