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

Re: Can't get w3m on NTEmacs to load



Hi,

>>>>> In [emacs-w3m : No.04730]
>>>>>	jeff.rancier@softechnics.com (Jeffery B. Rancier) wrote:

> I just downloaded and install w3m-emacs.  I'm using GNU Emacs 21.2.1
> (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy.  Here's the steps I
> took:

> I did the steps corresponding to the Unix install (I'm using Cygwin).
> I must have missed a step.  M-x w3m fails (backtrace at the bottom).

> Here's the results:
[...]
> bash-2.05b$ make
> env test ! -f w3m-util.elc -o w3m-util.elc -nt w3m-util.el || make clean
> env test ! -f w3m-proc.elc -o w3m-proc.elc -nt w3m-proc.el || make clean
> /emacs/bin/emacs -q -no-site-file -batch -l w3mhack.el NONE -f w3mhack-compile
>  `w3m-util.elc' is up to date
>  `w3m-proc.elc' is up to date

Hm, your emacs-w3m package seems to have already been compiled.
If so, I recommend you do `make clean' and `make' again.

> Here's the backtrace of it failing:

> Debugger entered--Lisp error: (void-function w3m-alive-p)
>   apply(debug error (void-function w3m-alive-p))
>   edebug(error (void-function w3m-alive-p))
>   signal(void-function (w3m-alive-p))
>   edebug-signal(void-function (w3m-alive-p))
>   (w3m-alive-p)
[...]
>   call-interactively(w3m)

That's weird.  Does the w3m command you use come from real
w3m.el?  My guess is that the w3m.elc file you use is corrupted,
or there's another version of emacs-w3m in the load-path.  To
make sure of it, do the `C-x C-f' command for the w3m file[1]
and do the `C-s' command for the string "(defun w3m-alive-p".

[1] Use the file name (but .el, not .elc) obtained by evaluating
    the following form (type C-j at the end of the line in the
    *scratch* buffer):

    (locate-library "w3m")
-- 
Katsumi Yamaoka <yamaoka@jpl.org>