[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-w3m cannot quit from a w3m-session
From: Katsumi Yamaoka <yamaoka@xxxxxxx>
Subject: [emacs-w3m:09813] Re: emacs-w3m cannot quit from a w3m-session
Date: Thu, 06 Dec 2007 13:47:02 +0900
> Thank you for the report. I guess it happens because a url that is
> an empty string has been registered (or is about to be registered)
> in your "~/.w3m/.arrived" file. Isn't there a line that begins
> with
>
> (""
>
> in that file? If such ones are found, there might be something
> wrong that generates them in emacs-w3m. Anyway, removing elements
> beginning with ("" will solve the problem. An `element' means
> the one which looks like:
ぼくも変だなと思ったので、調べていますとこんなことが起こる場合を見つけ
ました。(w3m-goto-url "/") が eval されると、 `w3m-canonicalize-url' さ
れずに URL が渡され、末尾の "/" が削られて "" が intern されてしまいま
す。これは、 (setq w3m-home-page "/") してあって `w3m-gohome' した時な
んかに実際に起こりえます。
なので、 `w3m-goto-url' が non-interactive に呼ばれた時は url を
canonicalize するように commit しました。
> But if you don't have such ones, try the attached patch below.
> Though this is no more than a workaround, we will have to install
> it in CVS for the moment.
`w3m-input-url' でなにも入力せずに補完した時のエラーも直った気がします
:-)