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

Re: back-up file not found (CVS Emacs)

>>>>> In [emacs-w3m : No.07077] Alexandre Russel wrote:

> Minna san konnichiwa,

Hi konnichiwa. :-)

> I used  emacs-w3m without problem untill now. I recently updated to
> CVS Emacs. emacs-w3m still works fine but without icons. The
> message is:
> Icon file /xxx/xxx/back-up.xpm not found
> /xxx/xxx/ being the directory from which I start w3m.
> It then stay in the buffer I was in, but if I type again M-x w3m,
> it then go to a blank w3m buffer. There I can use w3m but without
> any Icon.
> I recompiles emacs-w3m after updating but without success. My w3m
> setting are (they were working fine before):

It seems that the default value for the `w3m-icon-directory'
variable doesn't fit the directory in which you've installed
icon files.  Although we designed it so that it may fit the icon
directory when emacs-w3m is installed without configure options,
they will not always match.

> (add-to-list 'load-path "/usr/share/emacs/site-lisp/w3m")
> (require 'w3m-load)
> (setq w3m-use-cookies t)
> The back-up file are in(after doing locate):
>     /usr/share/pixmaps/w3m-el/back-up.xpm
>     /usr/share/emacs/21.3/etc/w3m/icons/back-up.xpm
>     /usr/share/emacs/CVS/etc/w3m/icons/back-up.xpm
>     /usr/share/xemacs/xemacs-packages/etc/w3/back-up.xbm
>     /usr/share/xemacs/xemacs-packages/etc/w3/back-up.xpm
>     /usr/local/emacs-w3m-1.4/icons/back-up.xpm
>     /usr/local/emacs-w3m-1.4/icons30/back-up.xpm

In that case, putting the following line into the ~/.emacs-w3m.el
file will help.

(setq w3m-icon-directory "/usr/local/emacs-w3m-1.4/icons/")

Please never use "/usr/share/xemacs/xemacs-packages/etc/w3/",
which is for Emacs/W3, not for emacs-w3m. ;-)