On Tue, 12 Nov 2019 09:53:13 +0800, 積丹尼さん wrote: > "But I don't even have a ~/bin". > Anyway, the problem turns out to be in > ~/.w3m/config . But which line?
> accept_language en;q=1.0 That is it! I see that the ";" in the operand causes a malfunction of w3m-download. Could you try this patch?
--- w3m.el~ 2019-11-11 06:37:28.350304300 +0000 +++ w3m.el 2019-11-12 02:41:33.719297300 +0000 @@ -834,8 +834,9 @@ (insert-file-contents file) (goto-char (point-min)) (when (re-search-forward "^accept_language[\t ]+\\(.+\\)$" nil t) - (delete "" (split-string (match-string 1) - "[ \t\r\f\n]*,[ \t\r\f\n]*"))))) + (delete "" (split-string + (replace-regexp-in-string ";.*" "" (match-string 1)) + "[ \t\r\f\n]*,[ \t\r\f\n]*"))))) (when (string= w3m-language "Japanese") '("ja" "en")))) "List of acceptable languages in descending order of priority.