help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Reading HTML mails with gnus


From: Rodolfo Medina
Subject: Re: Reading HTML mails with gnus
Date: Mon, 21 Feb 2005 18:02:26 +0100

Rodolfo Medina wrote:

> In order to read with Gnus that kind of mails
> such as Internet adverts (is that HTML mails?),
> I was suggested to install w3m-el (an interface of w3m).
> After some difficulties I managed to get the installation up to end,
> but still can't read HTML mails via gnus.
> What am I missing?
> Here are the steps I followed:
> [...]
> from http://www.hpl.hp.com/personal/Hans_Boehm/gc/
> I downloaded the package gc.tar.gz
> and copied it into the ~/tmp dir. Then,


Adam Duck wrote:

> Ugh... what are you using? LFS? :)


No, Mandrake 10.1 Community. Why?...


Rodolfo:

> . I was suggested to put in my .gnus.el the line:
> (setq mm-inline-text-html-renderer 'w3m)
> , which I did. Besides, in the README file
> which is in the emacs-w3m release it is suggested
> to put in .emacs the line:
> (require 'w3m-load)
> . I did so, but when starting Emacs I got the following error message:
>
> ---------------------------------------------------------------
> An error has occurred while loading `/home/rodolfo/.emacs':
>
> File error: "Cannot open load file", "w3m-load"
>
> To ensure normal operation, you should investigate the cause
> of the error in your initialization file and remove it.  Start
> Emacs with the `--debug-init' option to view a complete error
> backtrace
> Loading places from ~/.emacs-places...
> Loading places from /root/.emacs-places...done
> ----------------------------------------------------------------
>
> . Then I canceled that line from .emacs,
> but the HTML mails I get via gnus still cannot be viewed.


Adam:

> It seems, emacs won't find your emacs-w3m package.  Did you install
> emacs from a package from your vendor?  Then it probably got into /usr
> and emacs-w3m went to /usr/local ... although my auctex is in my
> load-path (albeit being in /usr/local).  So, could you post your
> `load-path' variable (C-h v load-path RET) and the installation
> directory of emacs-w3m?


Thanks, Adam.

This is the output of 'C-h v load-path RET':

----------------------------------------------------------------------------
---
load-path's value is
("/usr/share/emacs/site-lisp/Mule-UCS-current"
"/usr/share/emacs/21.3/site-lisp" "/usr/share/emacs/site-lisp"
"/usr/share/emacs/21.3/leim" "/usr/share/emacs/21.3/lisp"
"/usr/share/emacs/21.3/lisp/toolbar" "/usr/share/emacs/21.3/lisp/textmodes"
"/usr/share/emacs/21.3/lisp/progmodes" "/usr/share/emacs/21.3/lisp/play"
"/usr/share/emacs/21.3/lisp/obsolete" "/usr/share/emacs/21.3/lisp/net"
"/usr/share/emacs/21.3/lisp/mail" "/usr/share/emacs/21.3/lisp/language"
"/usr/share/emacs/21.3/lisp/international" "/usr/share/emacs/21.3/lisp/gnus"
"/usr/share/emacs/21.3/lisp/eshell" "/usr/share/emacs/21.3/lisp/emulation"
"/usr/share/emacs/21.3/lisp/emacs-lisp"
"/usr/share/emacs/21.3/lisp/calendar")


Documentation:
*List of directories to search for files to load.
Each element is a string (directory name) or nil (try default directory).
Initialized based on EMACSLOADPATH environment variable, if any,
otherwise to default specified by file `epaths.h' when Emacs was built.
----------------------------------------------------------------------------
-------

I searched the file w3m-load.el and found it in the directory
'/usr/share/emacs/site-lisp/w3m'. Then I put in my .emacs the lines:

(add-to-list 'load-path (expand-file-name "/usr/share/emacs/site-lisp/w3m"))
(require 'w3m-load)

and the above error message didn't appear any more.
But still, I can't view html images within gnus
(as I said above, I put in my .gnus.el the line:

        (setq mm-inline-text-html-renderer 'w3m)

). Any other suggestion?

Thanks,
Rodolfo









reply via email to

[Prev in Thread] Current Thread [Next in Thread]