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

Re: URLencoding vs. *Completions* buffer



白井です。

From: Hideyuki SHIRAI (白井秀行) <shirai@xxxxxxxxxxx> 曰く
Subject: [emacs-w3m:10811] Re: URLencoding vs. *Completions* buffer
Message-ID: <20090402.130539.132787275.shirai.hideyuki@xxxxxxxxxxx>
Date: Thu, 02 Apr 2009 13:05:39 +0900 (JST)

>>> When I hit TAB at the end of
>>> http://radioscanningtw.jidanni.org/index.php?title=
>>> in the *Completions* buffer I see
>>> http://radioscanningtw.jidanni.org/index.php?title=%E9%A3%9B%E8%88%AA%E7%AE%A1%E7%90%86
>>> http://radioscanningtw.jidanni.org/index.php?title=%E9%AB%98%E9%9B%84%E5%B8%82%E6%B6%88%E9%98%B2%E5%B1%80
>>> which is useless. I would rather see
>>> http://radioscanningtw.jidanni.org/index.php?title=飛航管理
>>> http://radioscanningtw.jidanni.org/index.php?title=高雄市消防局
>>
>> Thank you for your suggestion. I've changed the code to show the both
>> completions: encoded one and decoded one.

これ、一回取り消しませんか?

(1) C-u M-x w3m-history したときに二重で出てくる。前のメールで出
    したパッチの適用前はだいたい四重だったんですけど ^^;

(2) そこで、decode してある方の URL をリターンしても、ほとんどつ
    ながらないで NG となる。

というのが、気にくわないのです。が、これがちょっと変えただけで簡
単に治るとは思えません。。history から補完しても (2) になるのは
一緒です。よくわかっていないのですが、たまたまうまくいくときはあ
るようです。

(記憶が確かなら)今の emacs-w3m は生のマルチバイト文字を含んだ
URI を符号化して w3m を動かす、という機能は入っていないので、そ
のあたりを作ってから再チャレンジっていう方が良いと思います。
history にはちゃんと読める文字列の方が良いのは間違いないですから。

# そのときは、符号化形式はデフォルト utf-8 でよいとは思うのです
# が、おそらく正解は無いような気がします。っていうか、正解ってあ
# りましたっけ? ^^;;;

## MS-IE vs Namazu の『UTF-8 の URL を送信する』っていうのがある
## ぐらいだから、さっぱりわからん。

-- 
白井秀行 (mailto:shirai@xxxxxxxxxxx)