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

Re: Bug#118590: w3m-el: Cannot use on XEmacs21

Sorry for writing in Japanese.

>>>>> In [emacs-w3m : No.02093]
>>>>>	TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> wrote:

山岡> Hmm, I don't know why both the variables `w3m-current-title' and
山岡> `w3m-current-url' are nil.

土屋さん> I have met with the problem like this reported error on
土屋さん> Emacs21.  I think that problems like this are caused by
土屋さん> incompleteness of the startup procedure when something wrong
土屋さん> occurs before the first page is displayed.


* w3m-e21.el
(w3m-insert-header-line): Protect aginst errors caused by the illegal
 type of `w3m-current-url'.
(w3m-tab-line): Protect aginst errors caused by illegal types of
 `w3m-current-url' and `w3m-current-title'.

土屋さん> I have installed the protect code against them.  Could you
土屋さん> try the CVS version?

ふむふむ (stringp w3m-current-title) が nil だったら tab に表示
するのは "" にする、と。w3m-xmas.el でも同じ対応を行なうことにし

;; ううむ、やっぱり両方 nil になることがあるんだぁ...。

ところで、それが起こるのはどんな場合ですか?  特定の URL で?、そ
れとも何かの加減で retrieve に失敗したとき?
Katsumi Yamaoka <yamaoka@namazu.org>