[emacs-w3m:13280] Re: w3m-history-slimmed-history-flat() wrong

Boruch Baum <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <[email protected]>
While I don't read Japanese, I suspect that I just pushed a fix for this:

    https://github.com/emacs-w3m/emacs-w3m/pull/23

On 2019-02-26 23:37, Hideyuki SHIRAI wrote:
> ご無沙汰しています。白井です。
>
> # 眠いのと github の使い方さっぱり分かっていないので日本語と ML
> # で ^^;;;
>
> ## I am so sleepy that I will explain it in Japanese m(_ _)m
>
> さっき git pull したらほとんど動かなくなってしまったので、ちょっ
> と追いかけました。
>
> 少なくとも、w3m-history.el/w3m-history-slimmed-history-flat() の
>
> (setq new-flat (cons (cdr (assoc position flat-map)) nil))
> -->
> (setq new-flat (cdr (assoc position flat-map)))
>
> の変更で、w3m-session-history-to-save() が毎回エラーするようになっ
> ています。ここでエラーすると session file 消しちゃうし。。。
>
> ........
>
> わざわざ書くこともないとは思うのですが。
>
> (setq new1 nil)
> (setq new1 (cdr '(1 2))) (2)
> new1 ==> (2)
>
> (setq old1 nil)
> (setq old1 (cons (cdr '(1 2)) nil))
> old1 ==> ((2))
>
> と異なる結果になるので、(listp "some url string") error で怒られ
> ました。とりあえず、上記だけ戻したら今のところは大丈夫っぽいです。
>
> あとはまかせた!!
>
> ## ちなみにどれぐらい github を知らないかというと、数日分の巻き
> ## 戻し方もわからなかったので、Mac の TimeMachine で戻したという
> ## 体たらく
>

-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0
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.