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

Re: w3m-el



Hi,

>>>>> In <8665y476ob.fsf@escape.com>
>>>>>	Peter Mickle <mickle@escape.com> wrote:

> Thank you very much for the patch. I patched the file (learned something
> new), but when trying to byte-compile, I get the error:

> Compiling file /usr/share/emacs/site-lisp/w3m/w3m-e21.el at Wed Aug 21
>   07:55:33\2002 
>   !! Symbol's function definition is void ((gensym))

> so the file won't compile, so I can't put the file in the proper
> place. Should I recomplie the whole directory at once?

> For your information the Debian directory structure is like this:
>     /usr/share/emacs/site-lisp/w3m/w3m-e21.el
>     /usr/share/emacs21/site-lisp/w3m/w3m-e21.elc

> Sorry for the bother, any suggestions?

> Thanks very much for w3m!

You should run configure and make as usual in the emacs-w3m
source tree which contains the patched w3m-e21.el.  All modules
in emacs-w3m depend upon each other and some external libraries
like cl.  Otherwise, if you don't have the source tree, try the
following:

Put the patched w3m-e21.el file in
/usr/share/emacs/site-lisp/w3m.

Run Emacs with the options `-q' and `-no-site-file'.

  % emacs -q -no-site-file

Put the following code in *scratch* buffer and type C-j at the
end of the line.

  (setq load-path (cons "/usr/share/emacs/site-lisp/w3m" load-path))

Run emacs-w3m using the key `M-x w3m'.

Visit any web page if it is possible.

Run `M-x byte-compile' for the file
/usr/share/emacs/site-lisp/w3m/w3m-e21.el.

Quit Emacs.

Move the file /usr/share/emacs/site-lisp/w3m/w3m-e21.elc to
/usr/share/emacs21/site-lisp/w3m.

Run Emacs normally.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>