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

Re: Problems installing emacs-w3m

In [emacs-w3m:13707]
On Thu, 26 Nov 2020 19:54:30 +0900, Tatsuya Kinoshita wrote:
>> It seems (require 'w3m) causes evaluating w3m's config file similar
>> to (load "~/.w3m/config"), so I guess w3m-init-file is incorrectly
>> set to w3m's config file.  Anyway, try minimum configuration.

In [emacs-w3m:13710]
On Fri, 27 Nov 2020 07:24:27 +0900, Katsumi Yamaoka wrote:
> Thanks.  I could reproduce the error in question, i.e.,

@aalinovi  Kinoshita-san and I meant that we suspect you've set
the variable `w3m-init-file' in the Emacs init file incorrectly

(setq w3m-init-file "~/.w3m/config")

Otherwise you might have the line something like

tabstop 8

in the emacs-w3m init file, of which the default value is
"~/.emacs-w3m" (or "~/.emacs-w3m.el").  That file is interpreted
when starting emacs-w3m by Emacs assuming it contains Emacs Lisp
directives, like (setq foo "bar").  So, such a w3m's directive,
not emacs-w3m's, causes an error.  Note that loading that file
takes place when not only starting but also compiling emacs-w3m.