[emacs-w3m:13528] Re: w3m--get-page-anchors()

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.w3m
Organization Emacsen advocacy group
Message-ID <[email protected]>
I have currently no time but I'll work on the issues Shirai-san
brought up plus new issue and new PR posted in GitHub gradually..

In [emacs-w3m:13526]
On Sun, 18 Aug 2019 15:28:24 +0900, 白井さん wrote:
> w3m--get-page-anchors() ですが、二つほど問題を見つけました。

目通し 2回で概要はわかりました。私は今週は時間が取れないかもしれ
ないので、(他のことも含めて) 先に対応してくださる方、大歓迎です。

> (1) w3m-anchor-list-filter-alist で、あらゆる URL で
>   "\\`cite_.*[0-9]\\'" を anchor の対象から外していますが、これ
>   デフォルトでやっちゃうと wikipedia の「注釈 (cite_note_*)」
>   「出典 (cite_ref_*)」が全滅になるので、やめた方がよいと思いま
>   す。

はい、やめましょう。関係するもの全部削除。
これまでみんながそれなりに使ってきたコードなのだから、変更要求は
よほどの革新的なものでない限り受け付けない、というスタンスで行く
ことを肝に命じます。そう書いておかないと私も流されやすいので。;-)

> (2) (setq w3m-anchor-list-filter-alist nil) とかして、note,
>     references の anchor をたどれるようにしても、『ずれた位置』
>     に飛んでしまいます。

代案込みでありがとうございます。
-- 
山岡
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.