[emacs-w3m:13917] Re: Warning

Katsumi Yamaoka <[email protected]> Tue, 06 Dec 2022 08:41:41 +0900
Newsgroups gmane.emacs.w3m
Organization Emacsen advocacy group
Message-ID <[email protected]>
In [emacs-w3m:13916]
On Mon, 05 Dec 2022 19:33:27 +0100, Emanuel Berg wrote:
> Katsumi Yamaoka wrote:

>>> Just updated Emacs-w3m with the package manager, so as you
>>> probably know

>>>   w3m.el:58:2: Warning: reference to free variable =E2=80=98tab-line-ex=
clude-modes=E2=80=99
>>>   w3m.el:58:2: Warning: assignment to free variable =E2=80=98tab-line-e=
xclude-modes=E2=80=99
>>>   w3m.el:91:2: Warning: Variable =E2=80=98w3m-fb-mode=E2=80=99 left uni=
nitialized

>> Aren't you using Emacs 26 or older?

> GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
> 1.16.0) of 2022-10-09 [commit
> a2dd9d683a02525183b5e692e42622c65639dda8]

You seem to DTRT.  However, for me I got no such warnings.
I tried the following things on

(export HOME=3D$TEMP; cd; emacs -q) ...[1]

for Emacs 30.0.50 and 29.0.60 (built yesterday), and 28.2:

,----
| (require 'package)
| (add-to-list 'package-archives
|              '("melpa" . "https://melpa.org/packages/")
|              t)
| (add-to-list 'package-archives
|              '("melpa-stable" . "https://stable.melpa.org/packages/")
|              t)
| (package-initialize)
| (package-refresh-contents)
`----

(package-install 'w3m) and (package-reinstall 'w3m) issue no
compile warning.
(require 'w3m-load) and `M-x w3m' go silently, either.

Strange.

[1] i.e., no .emacs, no .emacs-w3m, and no site init file.