[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems installing emacs-w3m
You will have to forgive my lack of knowledge here but I'm not sure I
understand what you are saying. When I install w3m via Melpa I make no
edits to ~/.emacs.d/init.el
The good news is that I've taken what you've told me and added the line:
(setq w3m-init-file "~/.emacs.d/elpa/w3m-20201126.339")
to my ~/.emacs.d/init.el file, did a package-reinstall of w3m and so far
things seem to be working.
I don't know how or why but I'm not about to question it.
I thank you and everyone else for their time and assistance with this.
It is appreciated.
>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
>like:
>
>(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.
>
>Regards,